body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/images/logos/campus.jpg") no-repeat center center/cover;
    filter: blur(2px) brightness(0.5);
    transform: scale(1);
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.login-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.9);
}

.form-control {
    border-radius: 10px;
}

.btn-primary {
    border-radius: 10px;
    font-weight: 500;
}

.logo {
    width: 80px;
}

body.space-dashboard-body {
    min-height: 100vh;
    overflow: auto;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 30%),
        linear-gradient(135deg, #eef4ff 0%, #dce9ff 48%, #f8fbff 100%);
    color: #17324d;
}

.space-shell {
    min-height: 100vh;
    padding: 24px;
}

.space-frame {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    min-height: calc(100vh - 48px);
}

.space-brand,
.space-main {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 60px rgba(31, 76, 127, 0.14);
    backdrop-filter: blur(16px);
}

.space-brand {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.space-logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(29, 91, 255, 0.28);
}

.space-brand-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.space-brand-subtitle {
    color: #5f7894;
    font-size: 0.92rem;
    margin: 0;
}

.space-create {
    display: block;
    border: 0;
    border-radius: 18px;
    padding: 14px 18px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #143b72 0%, #245fbd 100%);
    box-shadow: 0 18px 32px rgba(20, 59, 114, 0.28);
}

.space-create span {
    display: block;
}

.space-create strong {
    font-size: 1rem;
}

.space-create small {
    color: rgba(255, 255, 255, 0.82);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    background: rgba(29, 91, 255, 0.08);
}

.feature-item.active {
    background: linear-gradient(135deg, rgba(29, 91, 255, 0.16), rgba(76, 165, 255, 0.12));
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #1c4da1;
    background: rgba(28, 77, 161, 0.1);
}

.feature-label {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-meta {
    display: block;
    color: #68819c;
    font-size: 0.85rem;
}

.storage-card {
    margin-top: auto;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f4f8ff 0%, #eaf2ff 100%);
}

.storage-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(20, 59, 114, 0.1);
    overflow: hidden;
    margin: 12px 0 10px;
}

.storage-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d5bff, #59b6ff);
}

.space-main {
    padding: 24px;
}

.space-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.space-search {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid rgba(23, 50, 77, 0.08);
    border-radius: 18px;
    background: rgba(244, 248, 255, 0.92);
}

.space-search::placeholder {
    color: #7b91a8;
}

.space-search-box {
    position: relative;
    flex: 1;
    min-width: 0;
}

.space-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 320px;
    overflow: auto;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 44px rgba(21, 54, 94, 0.18);
    border: 1px solid rgba(29, 91, 255, 0.12);
}

.space-search-results:empty {
    display: none;
}

.space-search-results .share-suggestion-item {
    display: grid;
    gap: 4px;
}

.space-search-results .share-suggestion-item span {
    color: #7088a2;
    font-size: 0.82rem;
}

.space-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.space-user-badge {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff8b37 0%, #ffb347 100%);
}

.space-img-circle {
    border-radius: 20px;
}

.space-content {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
}

.space-stack {
    display: grid;
    gap: 24px;
}

.space-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

.folder-panel,
.files-panel {
    padding: 22px;
    border-radius: 24px;
    background: rgba(246, 249, 255, 0.88);
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-title h5,
.panel-title h4 {
    font-weight: 700;
    margin: 0;
}

.storage-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.storage-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #4f6781;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(29, 91, 255, 0.08);
}

.storage-pill.active {
    color: #1d4db0;
    background: rgba(29, 91, 255, 0.1);
    border-color: rgba(29, 91, 255, 0.18);
}

.folder-tree {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.folder-tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.tree-root-card {
    position: relative;
    padding: 18px 18px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid rgba(29, 91, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tree-root-trigger {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 4px;
    border-radius: 18px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tree-root-trigger:hover,
.tree-root-trigger.active {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(29, 91, 255, 0.16);
    box-shadow: 0 12px 22px rgba(38, 92, 180, 0.08);
}

.tree-root-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1rem;
    font-weight: 700;
    color: #163a67;
}

.tree-root-meta {
    margin-top: 4px;
    color: #7088a2;
    font-size: 0.84rem;
}

.tree-root-empty {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    color: #7088a2;
    font-size: 0.88rem;
}

.folder-tree-root {
    position: relative;
    margin-top: 16px;
    padding-left: 26px;
}

.folder-tree-root::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(29, 91, 255, 0.2), rgba(29, 91, 255, 0.04));
}

.folder-branch {
    position: relative;
    display: grid;
    gap: 10px;
}

.folder-branch::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 23px;
    width: 15px;
    height: 2px;
    background: rgba(29, 91, 255, 0.18);
}

.folder-link {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.folder-link:hover {
    transform: translateX(3px);
    box-shadow: 0 14px 24px rgba(38, 92, 180, 0.08);
}

.folder-link.active {
    border-color: rgba(29, 91, 255, 0.2);
    box-shadow: 0 14px 24px rgba(38, 92, 180, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
}

.folder-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 600;
    margin-bottom: 4px;
}

.share-flag-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.share-flag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.share-flag.user {
    color: #0b7a56;
    background: rgba(11, 122, 86, 0.1);
}

.share-flag.public {
    color: #a14a00;
    background: rgba(255, 139, 55, 0.14);
}

.folder-meta {
    color: #7088a2;
    font-size: 0.87rem;
}

.folder-children {
    list-style: none;
    margin: 0 0 0 20px;
    padding: 0 0 0 18px;
    border-left: 2px solid rgba(29, 91, 255, 0.12);
    display: grid;
    gap: 10px;
}

.content-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.content-summary-single {
    grid-template-columns: minmax(0, 1fr);
}

.files-panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-button {
    border: 0;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d5bff 0%, #4ca5ff 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(29, 91, 255, 0.18);
}

.upload-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.files-dropzone {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 2px dashed rgba(29, 91, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.66);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.files-dropzone-text {
    color: #58718c;
    font-size: 0.9rem;
    font-weight: 500;
}

.files-dropzone.drop-target,
.folder-link.drop-target,
.tree-root-trigger.drop-target {
    border-color: rgba(29, 91, 255, 0.42);
    background: rgba(76, 165, 255, 0.12);
}

.files-dropzone.drop-target {
    transform: translateY(-1px);
}

.files-dropzone.uploading {
    border-style: solid;
    background: rgba(76, 165, 255, 0.08);
}

.files-dropzone.disabled {
    opacity: 0.6;
}

.files-table tbody tr {
    cursor: context-menu;
}

.file-row-highlight td {
    background: rgba(255, 240, 189, 0.92);
}

.summary-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff;
}

.summary-card strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.summary-card span {
    color: #7088a2;
    font-size: 0.88rem;
}

.shared-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.files-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.files-table th {
    padding: 0 14px 4px;
    color: #7088a2;
    font-size: 0.82rem;
    font-weight: 600;
}

.files-table td {
    padding: 16px 14px;
    background: #fff;
    vertical-align: middle;
}

.files-table td:first-child {
    border-radius: 18px 0 0 18px;
}

.files-table td:last-child {
    border-radius: 0 18px 18px 0;
    text-align: right;
    font-weight: 600;
}

.file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #1d5bff;
    background: rgba(29, 91, 255, 0.1);
}

.share-list {
    display: grid;
    gap: 14px;
}

.share-board {
    display: grid;
    gap: 20px;
}

.share-group-panel {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.95));
}

.share-card {
    display: block;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(31, 76, 127, 0.08);
    color: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.share-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(31, 76, 127, 0.12);
}

.share-card.active {
    border-color: rgba(29, 91, 255, 0.18);
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.share-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.share-card-head h5 {
    margin: 10px 0 0;
    font-weight: 700;
}

.share-card-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.share-scope-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 59, 114, 0.08);
    color: #1c4da1;
    font-size: 0.8rem;
    font-weight: 700;
}

.share-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.share-meta-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    margin-bottom: 0;
}

.share-meta-grid strong,
.share-meta-grid span {
    display: block;
}

.share-meta-grid strong {
    margin-bottom: 4px;
    color: #17324d;
    font-size: 0.82rem;
}

.share-meta-grid span {
    color: #7088a2;
    font-size: 0.9rem;
    word-break: break-word;
}

.share-path {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.9);
    color: #56708c;
    font-size: 0.88rem;
}

.share-flag-group-block {
    margin-top: 14px;
}

.share-row-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.share-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-icon-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 91, 255, 0.1);
    color: #1d5bff;
    box-shadow: inset 0 0 0 1px rgba(29, 91, 255, 0.08);
}

.share-icon-button:hover {
    background: rgba(29, 91, 255, 0.16);
}

.share-icon-button.danger {
    background: rgba(182, 58, 58, 0.1);
    color: #b63a3a;
    box-shadow: inset 0 0 0 1px rgba(182, 58, 58, 0.08);
}

.share-icon-button.danger:hover {
    background: rgba(182, 58, 58, 0.16);
}

.share-files-table tbody tr {
    cursor: default;
}

.share-detail-panel {
    margin-top: 20px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.95));
}

.shared-detail-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.folder-context-menu {
    position: absolute;
    z-index: 1000;
    min-width: 220px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 44px rgba(21, 54, 94, 0.18);
    border: 1px solid rgba(29, 91, 255, 0.12);
    display: none;
}

.folder-context-menu.show {
    display: grid;
    gap: 4px;
}

.folder-context-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #17324d;
    text-align: left;
    font-weight: 600;
}

.folder-context-item:hover {
    background: rgba(29, 91, 255, 0.08);
}

.folder-context-item.danger {
    color: #b63a3a;
}

.folder-context-item.danger:hover {
    background: rgba(182, 58, 58, 0.08);
}

.folder-context-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.folder-context-icon svg {
    width: 18px;
    height: 18px;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18, 39, 67, 0.26);
}

.share-modal.show {
    display: flex;
}

.share-modal-card {
    width: min(520px, 100%);
    padding: 22px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(21, 54, 94, 0.24);
}

.share-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.share-modal-head h5 {
    margin: 0 0 4px;
    font-weight: 700;
}

.share-modal-close {
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(29, 91, 255, 0.08);
    color: #17324d;
    font-size: 1.4rem;
    line-height: 1;
}

.share-mode-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.95);
    margin-bottom: 18px;
}

.share-mode-button {
    border: 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: transparent;
    color: #58718c;
    font-weight: 700;
}

.share-mode-button.active {
    background: #fff;
    color: #1d5bff;
    box-shadow: 0 8px 18px rgba(31, 76, 127, 0.08);
}

.share-panel {
    margin-bottom: 18px;
}

.share-selected-users {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.share-user-chip {
    border: 0;
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 91, 255, 0.1);
    color: #1d5bff;
    font-size: 0.84rem;
    font-weight: 600;
}

.share-label {
    display: block;
    margin-bottom: 8px;
    color: #17324d;
    font-size: 0.86rem;
    font-weight: 600;
}

.share-suggestions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.share-suggestion-item {
    border: 0;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(244, 248, 255, 0.95);
    color: #17324d;
    text-align: left;
    font-weight: 500;
}

.share-suggestion-item:hover {
    background: rgba(29, 91, 255, 0.08);
}

.share-public-hint {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.95);
    color: #58718c;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.share-public-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.share-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.empty-state {
    padding: 28px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    color: #5f7894;
}

.public-share-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.public-share-brand {
    margin-bottom: 20px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 60px rgba(31, 76, 127, 0.14);
    backdrop-filter: blur(16px);
}

.public-share-brand-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.public-share-campus-logo {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
}

.public-share-campus-copy {
    display: grid;
    gap: 2px;
}

.public-share-campus-label {
    color: #5f7894;
    font-size: 0.92rem;
    font-weight: 600;
}

.public-share-campus-name {
    color: #17324d;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.public-share-brand-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(29, 91, 255, 0.08);
}

.public-share-app-logo {
    display: block;
    max-width: min(260px, 100%);
    height: auto;
}

.public-share-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-stack {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1500;
    display: grid;
    gap: 10px;
}

.flash-message {
    min-width: 240px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
    box-shadow: 0 18px 32px rgba(20, 83, 45, 0.24);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.flash-message.error {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    box-shadow: 0 18px 32px rgba(153, 27, 27, 0.24);
}

.flash-message.leaving {
    opacity: 0;
    transform: translateY(-8px);
}

.logout-form .btn {
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .space-frame,
    .space-content {
        grid-template-columns: 1fr;
    }

    .space-brand {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .space-shell {
        padding: 14px;
    }

    .space-main,
    .space-brand {
        border-radius: 22px;
        padding: 18px;
    }

    .space-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .space-user {
        justify-content: space-between;
    }

    .content-summary {
        grid-template-columns: 1fr;
    }

    .files-panel-actions {
        width: 100%;
        justify-content: space-between;
    }

    .shared-summary-grid,
    .share-meta-grid {
        grid-template-columns: 1fr;
    }

    .share-group-panel {
        padding: 16px;
    }

    .share-row-inline {
        align-items: flex-start;
    }

    .flash-stack {
        top: 14px;
        right: 14px;
        left: 14px;
    }

    .flash-message {
        min-width: 0;
        max-width: none;
    }

    .public-share-brand {
        padding: 18px;
        border-radius: 22px;
    }

    .public-share-brand-top {
        align-items: flex-start;
    }

    .public-share-campus-logo {
        width: 56px;
        height: 56px;
    }

    .public-share-campus-name {
        font-size: 1.3rem;
    }

    .files-table,
    .files-table tbody,
    .files-table tr,
    .files-table td {
        display: block;
        width: 100%;
    }

    .files-table thead {
        display: none;
    }

    .files-table td {
        border-radius: 0;
        padding: 10px 14px;
    }

    .files-table tr {
        margin-bottom: 12px;
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
    }

    .files-table td:last-child {
        text-align: left;
    }

}
