/**
 * Fotoğraf Upload Sitesi - Modern Stil Dosyası
 */

/* =========================
   Root
========================= */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #0f172a;
    --text-soft: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-soft: rgba(255, 255, 255, 0.18);
    --bg-light: #f8fafc;
    --bg-soft: #eef2ff;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 30px 80px rgba(79, 70, 229, 0.16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

/* =========================
   Genel
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-dashed {
    border-style: dashed !important;
}

/* =========================
   Navbar
========================= */
.modern-navbar {
    background: rgba(15, 23, 42, 0.78) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.modern-navbar .navbar-brand {
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
}

.modern-navbar .navbar-brand:hover {
    color: #fff;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.35);
}

.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    padding: 0.7rem 1rem !important;
    border-radius: 12px;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
    color: #fff !important;
}

.nav-btn-solid {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important;
    padding: 0.75rem 1.15rem !important;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.24);
}

.nav-btn-solid:hover {
    transform: translateY(-1px);
    color: #fff !important;
}

.nav-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
}

.nav-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   Hero
========================= */
.hero-modern {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-modern::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    background: rgba(79, 70, 229, 0.10);
    filter: blur(100px);
    border-radius: 50%;
    top: -120px;
    left: -120px;
    z-index: 0;
}

.hero-modern::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(6, 182, 212, 0.10);
    filter: blur(110px);
    border-radius: 50%;
    bottom: -140px;
    right: -100px;
    z-index: 0;
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    color: var(--dark);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stat {
    min-width: 130px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.hero-stat strong {
    display: block;
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 800;
}

.hero-stat span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-top: 0.2rem;
}

/* =========================
   Upload Panel
========================= */
.upload-panel {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow-lg);
    border-radius: 28px;
    padding: 2rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.upload-panel-header {
    margin-bottom: 1.5rem;
}

.upload-panel-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.45rem;
}

.upload-panel-header p {
    color: var(--text-soft);
    margin-bottom: 0;
}

.upload-tabs {
    gap: 0.65rem;
    flex-wrap: wrap;
}

.upload-tabs .nav-link {
    border: none;
    background: #f1f5f9;
    color: var(--text);
    font-weight: 600;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.upload-tabs .nav-link:hover {
    background: #e8edff;
    color: var(--primary);
}

.upload-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.22);
}

.modern-upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: -0.25rem;
}

.modern-input {
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    background: #fff;
    color: var(--text);
    box-shadow: none;
}

.modern-input:focus,
.form-control:focus {
    border-color: rgba(79, 70, 229, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.12);
}

.upload-meta {
    font-size: 0.92rem;
    color: var(--text-soft);
    margin-top: -0.2rem;
}

.upload-meta .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.modern-btn-primary {
    border: none;
    border-radius: 16px;
    padding: 0.95rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(79, 70, 229, 0.24);
    transition: var(--transition);
}

.modern-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.32);
}

.modern-btn-light {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.95rem 1.2rem;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    transition: var(--transition);
}

.modern-btn-light:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.25);
}

/* =========================
   Drag & Paste
========================= */
.dropzone-modern,
.paste-modern {
    border: 2px dashed #cbd5e1;
    border-radius: 22px;
    padding: 2.4rem 1.4rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.96) 100%);
    transition: var(--transition);
    cursor: pointer;
}

.dropzone-modern:hover,
.paste-modern:hover,
.dropzone-container:hover,
.paste-container:hover {
    border-color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    transform: translateY(-2px);
}

.dropzone-modern.border-primary,
.paste-modern.border-primary,
.dropzone-container.border-primary,
.paste-container.border-primary {
    border-color: var(--primary) !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.dropzone-icon,
.paste-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 1rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--primary);
    font-size: 2rem;
}

.dropzone-modern h4,
.paste-modern h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.dropzone-modern p,
.paste-modern p {
    color: var(--text-soft);
    margin-bottom: 0;
}

/* Eski yapılarla uyumluluk */
.dropzone-container,
.paste-container {
    border: 2px dashed #cbd5e1;
    border-radius: 22px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.96) 100%);
    transition: var(--transition);
    cursor: pointer;
}

/* =========================
   Section Heading
========================= */
.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-soft);
}

.section-badge {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* =========================
   Feature Cards
========================= */
.feature-card-modern {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.feature-card-modern h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.7rem;
}

.feature-card-modern p {
    color: var(--text-soft);
    margin-bottom: 0;
}

/* =========================
   Info Cards
========================= */
.info-card-modern {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 1.8rem;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.info-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

/* Steps */
.steps-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.step-number {
    min-width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.22);
}

.step-item h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.step-item p {
    margin: 0;
    color: var(--text-soft);
}

/* Mini Feature */
.feature-list-modern .mini-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    font-weight: 600;
    color: var(--dark);
    height: 100%;
}

.feature-list-modern .mini-feature i {
    color: var(--success);
    font-size: 1rem;
}

/* =========================
   Footer
========================= */
.footer-modern {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 70px 0 24px;
    margin-top: 30px;
}

.footer-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.68);
    max-width: 420px;
    margin-bottom: 0;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    padding-top: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================
   Genel Buton Uyumu
========================= */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #0891b2);
    border: none;
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background-color: #16a34a;
    border-color: #16a34a;
}

/* =========================
   Kartlar
========================= */
.card {
    border-radius: 20px;
}

.photo-card {
    transition: var(--transition);
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.photo-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.photo-card .card-footer {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Login / Register */
.auth-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.auth-card .card-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #eef2f7;
    font-weight: 700;
}

/* =========================
   Admin
========================= */
.admin-sidebar {
    background: linear-gradient(180deg, var(--primary) 0%, #312e81 100%);
    min-height: calc(100vh - 56px);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.08);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    padding: 1rem;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.10);
    border-left-color: #fff;
}

.admin-sidebar .sidebar-heading {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    letter-spacing: 0.06em;
}

.admin-card {
    border: none;
    border-left: 4px solid var(--primary);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-card.card-warning {
    border-left-color: var(--warning);
}

.admin-card.card-success {
    border-left-color: var(--success);
}

.admin-card.card-danger {
    border-left-color: var(--danger);
}

.admin-card.card-info {
    border-left-color: var(--secondary);
}

/* =========================
   Alert
========================= */
.alert {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

/* =========================
   Reklam alanı
========================= */
.hero-ad-area,
.text-center iframe,
.text-center ins {
    max-width: 100%;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .hero-modern {
        padding: 60px 0 40px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .upload-panel {
        padding: 1.4rem;
    }

    .modern-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.72);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.18;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: unset;
    }

    .upload-tabs .nav-link {
        width: 100%;
        text-align: center;
    }

    .dropzone-modern,
    .paste-modern,
    .dropzone-container,
    .paste-container {
        padding: 2rem 1rem;
    }

    .feature-card-modern,
    .info-card-modern,
    .upload-panel {
        border-radius: 20px;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        min-width: 48px;
        width: 48px;
        height: 48px;
    }

    .photo-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .hero-modern {
        padding: 48px 0 30px;
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 0.6rem 0.85rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-heading h2 {
        font-size: 1.75rem;
    }

    .upload-panel-header h2 {
        font-size: 1.4rem;
    }

    .hero-stat {
        flex: 1 1 100%;
    }

    .footer-modern {
        padding-top: 50px;
    }
}
/* =========================
   Success Page
========================= */
.success-page-panel {
    padding: 2.2rem;
}

.success-top {
    padding-bottom: 0.5rem;
}

.success-check-icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 20px 45px rgba(34, 197, 94, 0.28);
}

.success-image-preview {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1rem;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-image-preview img {
    max-height: 300px;
    width: auto;
    border-radius: 18px;
    object-fit: contain;
}

.success-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.success-info-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.success-info-item .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.success-info-item .value {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.share-code-group {
    margin-bottom: 0.25rem;
}

.modern-copy-group {
    gap: 0.75rem;
}

.modern-copy-group .modern-input {
    border-radius: 16px !important;
}

.modern-copy-group .copy-btn {
    border-radius: 16px !important;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow: 0 14px 35px rgba(34, 197, 94, 0.24) !important;
}

@media (max-width: 767.98px) {
    .success-page-panel {
        padding: 1.25rem;
    }

    .success-check-icon {
        width: 80px;
        height: 80px;
        border-radius: 22px;
        font-size: 1.7rem;
    }

    .success-image-preview {
        min-height: 240px;
    }

    .modern-copy-group {
        flex-direction: column;
    }

    .modern-copy-group .copy-btn {
        width: 100%;
    }
}
/* =========================
   Auth Pages
========================= */
.modern-auth-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.auth-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
}

.auth-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.25);
}

.auth-password-group {
    align-items: stretch;
}

.auth-password-group .modern-input {
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.auth-toggle-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-soft);
    min-width: 58px;
    border-radius: 16px !important;
    margin-left: 0.75rem;
    transition: var(--transition);
}

.auth-toggle-btn:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.25);
}

.auth-link {
    color: var(--primary);
    font-weight: 700;
}

.auth-link:hover {
    color: var(--primary-hover);
}

@media (max-width: 767.98px) {
    .modern-auth-card {
        border-radius: 22px;
    }

    .auth-header h2 {
        font-size: 1.55rem;
    }

    .auth-icon {
        width: 70px;
        height: 70px;
        border-radius: 20px;
        font-size: 1.5rem;
    }

    .auth-toggle-btn {
        min-width: 52px;
        margin-left: 0.5rem;
    }
}
/* =========================
   Profile Page
========================= */
.profile-sidebar-card {
    position: sticky;
    top: 100px;
}

.profile-user-top {
    padding-bottom: 0.5rem;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.25);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.profile-email {
    color: #64748b;
    margin-bottom: 0;
    word-break: break-word;
}

.profile-stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.profile-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.profile-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.profile-stat-value {
    display: block;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 800;
}

.modern-profile-photo-card {
    border-radius: 24px;
    overflow: hidden;
}

.profile-photo-image-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0.75rem;
}

.profile-photo-image-wrap img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.profile-photo-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.profile-photo-meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.profile-photo-meta-item i {
    color: #4f46e5;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.empty-profile-state {
    padding: 3rem 1rem;
}

.empty-profile-icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4f46e5;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
}

.empty-profile-state h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
    .profile-sidebar-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .profile-avatar {
        width: 90px;
        height: 90px;
        border-radius: 24px;
        font-size: 2rem;
    }

    .profile-name {
        font-size: 1.35rem;
    }

    .profile-photo-image-wrap img {
        height: 200px;
    }

    .empty-profile-state {
        padding: 2rem 0.5rem;
    }
}
/* =========================
   Admin Dashboard Modern
========================= */
.admin-dashboard-header {
    margin-bottom: 1.5rem;
}

.admin-page-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
}

.admin-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-page-subtitle {
    color: #64748b;
    max-width: 700px;
}

.admin-stat-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.92);
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.admin-stat-card .card-body {
    padding: 1.5rem;
}

.admin-stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.admin-stat-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 800;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.55rem 0 0;
}

.admin-stat-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    flex-shrink: 0;
}

.admin-stat-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
}

.admin-stat-link:hover {
    color: #4338ca;
}

.admin-stat-link.disabled {
    color: #94a3b8;
    pointer-events: none;
}

.admin-stat-primary .admin-stat-icon {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.admin-stat-success .admin-stat-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.admin-stat-warning .admin-stat-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.admin-stat-info .admin-stat-icon {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.admin-panel-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.94);
}

.admin-panel-card-header {
    background: transparent;
    border-bottom: 1px solid #edf2f7;
    padding: 1.25rem 1.5rem;
}

.admin-panel-card-header h5 {
    font-weight: 800;
    color: #0f172a;
}

.admin-modern-table {
    margin-bottom: 0;
}

.admin-modern-table thead th {
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: transparent;
}

.admin-modern-table tbody td {
    vertical-align: middle;
    border-color: #eef2f7;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.admin-thumb-wrap {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.admin-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-table-title {
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.admin-table-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.admin-table-date {
    font-size: 0.92rem;
    color: #475569;
    font-weight: 600;
}

.admin-user-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-settings-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.admin-settings-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    color: inherit;
}

.admin-settings-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-settings-content h6 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.admin-settings-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    word-break: break-word;
}

.admin-empty-state {
    padding: 3rem 1rem;
}

.admin-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #4f46e5;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
}

.admin-empty-state h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.7rem;
}

@media (max-width: 767.98px) {
    .admin-page-title {
        font-size: 1.6rem;
    }

    .admin-stat-value {
        font-size: 1.7rem;
    }

    .admin-stat-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 1.2rem;
    }

    .admin-panel-card,
    .admin-stat-card {
        border-radius: 20px;
    }

    .admin-panel-card-header {
        padding: 1rem 1.1rem;
    }
}
/* =========================
   Admin Layout / Header
========================= */
.admin-modern-body {
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.08), transparent 25%),
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 20%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
    min-height: 100vh;
}

.admin-topbar {
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.admin-brand-soft {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.admin-topbar-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1rem !important;
}

.admin-topbar-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.admin-topbar-btn {
    color: #fff !important;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 14px;
    padding: 0.75rem 1rem !important;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.20);
}

.admin-topbar-btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.admin-layout {
    min-height: calc(100vh - 72px);
}

.admin-sidebar-wrap {
    background: transparent;
}

.admin-sidebar-inner {
    position: sticky;
    top: 88px;
    min-height: calc(100vh - 104px);
    margin: 1rem;
    margin-right: 0.5rem;
    padding: 1.25rem;
    border-radius: 26px;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
}

.admin-sidebar-top {
    margin-bottom: 1.2rem;
}

.admin-sidebar-label {
    display: inline-block;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.admin-sidebar-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.admin-sidebar-menu {
    gap: 0.35rem;
}

.admin-sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 600;
    transition: var(--transition);
    border-left: none;
}

.admin-sidebar-menu .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-menu .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.85), rgba(6, 182, 212, 0.70));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.admin-menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-sidebar-menu .nav-link.active .admin-menu-icon {
    background: rgba(255, 255, 255, 0.14);
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.admin-sidebar-mini-card {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.mini-card-label {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.mini-card-value {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.admin-main-content {
    padding: 1rem;
}

.admin-content-inner {
    padding: 0.25rem 0.5rem 1rem 0.5rem;
}

@media (max-width: 991.98px) {
    .admin-sidebar-inner {
        position: static;
        top: auto;
        min-height: auto;
        margin: 1rem 0 0 0;
        border-radius: 22px;
    }

    .admin-main-content {
        padding-top: 0;
    }

    .admin-topbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.78);
    }
}

@media (max-width: 767.98px) {
    .admin-sidebar-inner {
        padding: 1rem;
    }

    .admin-sidebar-menu .nav-link {
        padding: 0.85rem 0.9rem;
        border-radius: 14px;
    }

    .admin-menu-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .admin-content-inner {
        padding: 0;
    }
}
/* =========================
   Admin Footer
========================= */
.admin-footer-modern {
    margin: 1rem;
    margin-top: 0;
    padding: 1rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: var(--shadow-sm);
    color: #64748b;
    font-weight: 600;
}

.admin-footer-status {
    display: inline-flex;
    align-items: center;
    color: #16a34a;
    font-weight: 700;
}

.admin-footer-status i {
    font-size: 0.6rem;
}

@media (max-width: 991.98px) {
    .admin-footer-modern {
        margin: 1rem 0 0 0;
        border-radius: 18px;
    }
}
/* =========================
   Admin Photos Page
========================= */
.admin-count-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.10);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
}

.admin-search-form {
    width: 100%;
    max-width: 460px;
}

.admin-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-search-box i {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    z-index: 2;
}

.admin-search-box input {
    height: 54px;
    border-radius: 16px;
    padding-left: 44px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.admin-search-box input:focus {
    border-color: rgba(79, 70, 229, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.12);
}

.admin-search-btn {
    height: 54px;
    min-width: 92px;
    border-radius: 16px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.admin-filetype-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .admin-search-form {
        max-width: 100%;
    }

    .admin-search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-btn {
        width: 100%;
    }
}
/* =========================
   Admin Users Page
========================= */
.admin-index-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 800;
    font-size: 0.92rem;
}

.admin-user-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.admin-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.admin-user-email {
    color: #475569;
    font-weight: 600;
    word-break: break-word;
}

.admin-photo-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.10);
    color: #0369a1;
    font-size: 0.88rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .admin-user-row {
        gap: 0.7rem;
    }

    .admin-user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .admin-index-badge {
        min-width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}
/* =========================
   Admin Settings Page
========================= */
.admin-settings-tabs {
    gap: 0.75rem;
}

.admin-form-section-title {
    margin-bottom: 1.2rem;
}

.admin-form-section-title h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.admin-form-section-title p {
    color: #64748b;
    margin-bottom: 0;
}

.admin-form-card {
    padding: 1rem;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    background: #f8fafc;
    margin-bottom: 1rem;
}

.modern-textarea {
    min-height: 120px;
    height: auto !important;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.admin-code-area {
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92rem;
    background: #fff;
}

.admin-help-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-help-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.admin-help-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(6, 182, 212, 0.14));
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admin-help-item h6 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.admin-help-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.admin-help-tips {
    margin: 0.25rem 0 0;
    padding-left: 1rem;
    color: #64748b;
    font-size: 0.92rem;
}

.admin-help-tips li + li {
    margin-top: 0.35rem;
}

.admin-side-note {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .admin-form-card,
    .admin-help-item {
        padding: 0.9rem;
        border-radius: 16px;
    }

    .admin-help-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
}
/* =========================
   Admin Login Page
========================= */
.admin-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.10), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.admin-login-section {
    position: relative;
    overflow: hidden;
}

.admin-login-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
    letter-spacing: -1px;
}

.admin-login-title span {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-login-text {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 580px;
    margin-bottom: 2rem;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.admin-login-card-body {
    padding: 2rem;
}

.admin-login-icon {
    width: 90px;
    height: 90px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.26);
}

.admin-login-card-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.admin-login-card-text {
    color: #64748b;
    margin-bottom: 0;
}

.admin-login-footer-text {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .admin-login-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 767.98px) {
    .admin-login-card {
        border-radius: 24px;
    }

    .admin-login-card-body {
        padding: 1.3rem;
    }

    .admin-login-title {
        font-size: 2rem;
    }

    .admin-login-icon {
        width: 76px;
        height: 76px;
        border-radius: 22px;
        font-size: 1.7rem;
    }

    .admin-login-card-title {
        font-size: 1.55rem;
    }
}
/* =========================
   Admin Change Password
========================= */
.admin-password-group {
    align-items: stretch;
}

.admin-input-icon {
    border: 1px solid var(--border);
    background: #fff;
    color: #64748b;
    border-radius: 16px !important;
    margin-right: 0.75rem;
    min-width: 56px;
    justify-content: center;
}

.admin-password-group .modern-input {
    border-radius: 16px !important;
}

@media (max-width: 767.98px) {
    .admin-input-icon {
        min-width: 50px;
        margin-right: 0.5rem;
    }
}