/* ===========================
   IAN B. Admin Panel
   Light Theme — Matching Portfolio
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #f7f7f0;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafaf5;
    --bg-input: #f7f7f0;
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);
    --border-strong: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --accent: #1754cf;
    --accent-hover: #1348b0;
    --accent-glow: rgba(23, 84, 207, 0.1);
    --accent-light: rgba(23, 84, 207, 0.06);
    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --danger-light: rgba(220, 38, 38, 0.06);
    --success: #16a34a;
    --success-light: rgba(22, 163, 74, 0.08);
    --purple: #7c3aed;
    --purple-light: rgba(124, 58, 237, 0.06);
    --green: #16a34a;
    --green-light: rgba(22, 163, 74, 0.06);
    --amber: #d97706;
    --amber-light: rgba(217, 119, 6, 0.06);
    --radius: 8px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.06);
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Crimson Pro', Georgia, serif;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

/* ===========================
   Login Screen
   =========================== */

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(23, 84, 207, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        var(--bg-deep);
    padding: 1rem;
}

.login-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.login-logo {
    font-family: var(--font);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.accent {
    color: var(--accent);
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
}

.login-error {
    background: var(--danger-light);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.btn-login {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-login:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(23, 84, 207, 0.15);
    transform: translateY(-1px);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===========================
   Admin Layout
   =========================== */

.admin-app {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.sidebar-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-link svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}

.sidebar-link.logout:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* --- Main Content --- */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 2rem 2.5rem;
    min-height: 100vh;
}

/* ===========================
   Sections
   =========================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-header h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-style: italic;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

/* ===========================
   Stats Cards
   =========================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.stat-card.clickable {
    cursor: pointer;
}

.stat-card.clickable:hover {
    border-color: var(--accent);
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-icon-purple {
    background: var(--purple-light);
    color: var(--purple);
}

.stat-icon-green {
    background: var(--green-light);
    color: var(--green);
}

.stat-icon-amber {
    background: var(--amber-light);
    color: var(--amber);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

/* ===========================
   Albums List
   =========================== */

.albums-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.album-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.album-row:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.album-row-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
}

.album-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-row-info {
    flex: 1;
    min-width: 0;
}

.album-row-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.album-row-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.album-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.album-placeholder svg {
    width: 26px;
    height: 26px;
}

/* ===========================
   Photos Grid
   =========================== */

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.photo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.photo-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.photo-card-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.photo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover .photo-card-img img {
    transform: scale(1.04);
}

.photo-delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.photo-delete-btn svg {
    width: 14px;
    height: 14px;
}

.photo-card:hover .photo-delete-btn {
    opacity: 1;
    transform: scale(1);
}

.photo-card-info {
    padding: 0.65rem 0.85rem;
}

.photo-alt {
    font-size: 0.82rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ===========================
   Home Images
   =========================== */

.home-images-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-image-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.home-image-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.home-image-preview {
    width: 110px;
    height: 82px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
}

.home-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-image-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ===========================
   Empty State
   =========================== */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.empty-state svg {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    opacity: 0.25;
}

.empty-state p {
    font-size: 0.92rem;
}

/* ===========================
   Forms
   =========================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem;
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 56px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

/* ===========================
   Buttons
   =========================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-primary svg {
    width: 15px;
    height: 15px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(23, 84, 207, 0.15);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost svg {
    width: 15px;
    height: 15px;
}

.btn-ghost:hover {
    background: var(--bg-input);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: var(--danger-hover);
}

.btn-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

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

.btn-icon:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.btn-icon-sm {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-icon-sm svg {
    width: 15px;
    height: 15px;
}

.btn-icon-sm:hover {
    background: var(--bg-deep);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-icon-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.2);
}

/* ===========================
   Modal
   =========================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(247, 247, 240, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-confirm {
    max-width: 420px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.01em;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.confirm-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===========================
   Toast
   =========================== */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    box-shadow: var(--shadow-lg);
}

.toast.success {
    background: var(--success);
    color: white;
}

.toast.error {
    background: var(--danger);
    color: white;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===========================
   Drop Zone & Upload
   =========================== */

.drop-zone {
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    background: var(--bg-input);
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--accent);
    background: var(--accent-light);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
}

.drop-zone-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.drop-zone-preview img {
    max-height: 140px;
    max-width: 100%;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.preview-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.upload-progress {
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* ===========================
   Multi-file Preview Grid
   =========================== */

.multi-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    padding: 0.25rem;
}

.preview-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-input);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-thumb:hover {
    border-color: var(--border-hover);
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.15s ease;
}

.preview-thumb:hover .preview-remove {
    opacity: 1;
    transform: scale(1);
}

.preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 4px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.62rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-add {
    cursor: pointer;
    color: var(--text-muted);
    border-style: dashed;
    gap: 0.25rem;
}

.preview-add:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.preview-add .preview-label {
    position: static;
    background: none;
    color: inherit;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ===========================
   Cover Picker
   =========================== */

.cover-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.25rem;
}

.cover-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.cover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cover-thumb:hover {
    border-color: var(--border-hover);
}

.cover-thumb:hover img {
    transform: scale(1.05);
}

.cover-thumb.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.cover-thumb.selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-logo {
        border-bottom: none;
        padding: 1rem;
        font-size: 1.15rem;
    }

    .sidebar-nav {
        flex-direction: row;
        padding: 0 0.5rem;
        gap: 0;
        overflow-x: auto;
    }

    .sidebar-link {
        font-size: 0.78rem;
        padding: 0.55rem 0.7rem;
        white-space: nowrap;
    }

    .sidebar-footer {
        border-top: none;
        border-left: 1px solid var(--border);
        flex-direction: row;
        padding: 0 0.5rem;
    }

    .admin-app {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0;
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .home-image-card {
        flex-direction: column;
    }

    .home-image-preview {
        width: 100%;
        height: 140px;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .album-row {
        flex-wrap: wrap;
    }

    .album-row-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ===========================
   Scrollbar
   =========================== */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.15);
}