 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f7f9fc;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    background-color: #0b2d4d;
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.navbar {

     background-color: yellow;
    
   
    text-align: center;
    gap: 25px;
    text-align: center;
    
}

.navbar a {
    color: black;
    text-decoration: none;
    font-size: 30px;
    padding-right: 50px;
}

.navbar a:hover {
    color: #45c7a8;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    background-color: #eaf4f8;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: #0b2d4d;
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #555;
}


/* =========================
   BUTTON
========================= */

.btn {
    display: inline-block;
    background-color: #0b2d4d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.btn:hover {
    background-color: #45a88e;
}


/* =========================
   PRODUCTS
========================= */


.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    color: #0b2d4d;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-heading p {
    color: #666;
}

.product .signUp .login{
    background-color: white;
    padding: 45px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #0b2d4d;
}

.product-schooling {
    border-left-color: #45a88e;
}

.product-content {
    max-width: 850px;
    margin: auto;
}

.product-label {
    display: inline-block;
    background-color: #eaf4f8;
    color: #0b2d4d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}

.product h2 {
    color: #0b2d4d;
    font-size: 32px;
    margin-bottom: 15px;
}

.product h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.product p {
    margin-bottom: 15px;
    color: #555;
}


/* =========================
   FORM
========================= */

.subscription-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0b2d4d;
}

.form-message {
    margin-top: 15px;
    color: #198754;
    font-weight: bold;
}


/* =========================
   FOOTER / CONTACT
========================= */

.footer {
    background-color: #0b2d4d;
    color: white;
   /* padding: 50px 0 25px; */
    text-align: center;
}

.footer h2 {
    margin-bottom: 15px;
}

.footer p {
    margin-bottom: 8px;
}

.contact-details {
    margin: 25px 0;
     text-align: center;

}

.contact-details p {
    color: blueviolet;
     text-align: center;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 25px;
    font-size: 14px;
}


/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 700px) {

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .product {
        padding: 25px;
    }

    .product h2 {
        font-size: 27px;
    }

} 
/* HOME and Dashboard PAGES  CSS SECTION  */

        :root {
            --bg-color: #f1f5f9;
            --card-bg: #ffffff;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --accent-blue: #2563eb;
            --accent-blue-hover: #1d4ed8;
            --accent-green: #16a34a;
            --accent-green-bg: #dcfce7;
            --accent-amber: #d97706;
            --accent-amber-bg: #fef3c7;
            --border-color: #cbd5e1;
            --radius: 12px;
            --transition-speed: 0.25s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-primary);
            line-height: 1.5;
            padding: 1.5rem 1rem;
        }

        .portal-wrapper {
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .view-switcher-bar {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 0.75rem 1.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
            flex-wrap: wrap;
            gap: 1rem;
        }

        .brand-logo-text {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--accent-blue);
            letter-spacing: -0.025em;
        }

        .switcher-tabs {
            display: flex;
            background-color: #e2e8f0;
            padding: 4px;
            border-radius: 8px;
            gap: 4px;
        }

        .tab-btn {
            background: transparent;
            border: none;
            padding: 0.5rem 1.25rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
            border-radius: 6px;
            cursor: pointer;
            transition: all var(--transition-speed);
        }

        .tab-btn.active {
            background-color: var(--card-bg);
            color: var(--text-primary);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .btn {
            background-color: var(--accent-blue);
            color: #ffffff;
            border: none;
            padding: 0.75rem 1.25rem;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color var(--transition-speed);
        }

        .btn:hover {
            background-color: var(--accent-blue-hover);
        }

        .btn-secondary {
            background-color: #e2e8f0;
            color: var(--text-primary);
        }

        .btn-secondary:hover {
            background-color: #cbd5e1;
        }

        .btn-logout {
            background-color: #e4aeae;
            color: var(--text-primary);
        }

        .btn-logout:hover {
            background-color: #e49013;
        }

        .card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.75rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }

        .view-section {
            display: none;
            flex-direction: column;
            gap: 2rem;
        }

        .view-section.active-view {
            display: flex;
        }

        .hero-banner {
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
            color: #ffffff;
            border-radius: var(--radius);
            padding: 3rem 2rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .hero-banner h1 {
            font-size: 2.25rem;
            font-weight: 800;
        }

        .hero-banner p {
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.9;
        }

        .business-details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .info-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }

        .info-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .catalog-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }

        .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .item-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
            transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        }

        .item-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        }

        .item-title {
            font-size: 1.1rem;
            font-weight: 700;
        }

        .item-desc {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .item-price {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--accent-blue);
        }

        .rep-header {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .rep-welcome h1 {
            font-size: 1.75rem;
            font-weight: 800;
        }

        .rep-welcome p {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.25rem;
        }

        .metric-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .metric-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-top: 0.5rem;
        }

        .metric-sub {
            font-size: 0.85rem;
            color: var(--accent-green);
            font-weight: 600;
            margin-top: 0.25rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.25rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: 700;
        }

        .search-input {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 0.95rem;
            outline: none;
            width: 220px;
        }

        .table-responsive {
            width: 100%;
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.95rem;
        }

        th, td {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--border-color);
        }

        th {
            font-weight: 700;
            color: var(--text-secondary);
            background-color: #f8fafc;
        }

        tr:hover td {
            background-color: #f8fafc;
        }

        .badge {
            display: inline-block;
            padding: 0.25rem 0.65rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .badge-pending {
            background-color: var(--accent-amber-bg);
            color: var(--accent-amber);
        }

        .badge-cleared {
            background-color: var(--accent-green-bg);
            color: var(--accent-green);
        }

        .action-btn {
            background: none;
            border: 1px solid var(--border-color);
            padding: 0.35rem 0.75rem;
            font-size: 0.85rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            color: var(--accent-blue);
            transition: all var(--transition-speed);
        }

        .action-btn:hover {
            background-color: #eff6ff;
            border-color: var(--accent-blue);
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(15, 23, 42, 0.6);
            justify-content: center;
            align-items: center;
            padding: 1rem;
            z-index: 100;
        }

        .modal-content {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            width: 100%;
            max-width: 500px;
            padding: 2rem;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 700;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-secondary);
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .form-control {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 0.95rem;
            outline: none;
        }

        .form-control:focus {
            border-color: var(--accent-blue);
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        @media (max-width: 768px) {
            .rep-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .view-switcher-bar {
                flex-direction: column;
                align-items: stretch;
            }
            .switcher-tabs {
                justify-content: center;
            }
        }




/* =========================
FOR GALLERY MANAGER
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f7f8fc;
    --surface: #ffffff;
    --text: #151923;
    --muted: #727887;
    --border: #e7e9ef;
    --primary: #635bff;
    --primary-dark: #5148e8;
    --success: #159957;
    --danger: #dc3545;
    --shadow: 0 15px 45px rgba(24, 31, 56, 0.08);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* Header */

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 82px;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--primary);
    color: white;

    display: grid;
    place-items: center;

    font-size: 22px;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.25);
}

.brand h1 {
    font-size: 20px;
    line-height: 1.1;
}

.brand p {
    color: var(--muted);
    font-size: 12px;
}


/* Main */

main {
    padding-top: 45px;
    padding-bottom: 70px;
}


/* Upload */

.upload-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.section-heading {
    margin-bottom: 25px;
}

.eyebrow {
    display: block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.section-heading h2,
.gallery-heading h2 {
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.15;
    margin-bottom: 7px;
}

.section-heading p,
.gallery-heading p {
    color: var(--muted);
    font-size: 14px;
}


/* Drop zone */

.drop-zone {
    min-height: 225px;

    border: 2px dashed #d9dce7;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--primary);
    background: #f8f7ff;
}

.drop-zone.drag-over {
    transform: scale(1.005);
}

.upload-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: #efeeff;
    color: var(--primary);

    border-radius: 16px;

    font-size: 28px;
    font-weight: 600;

    margin-bottom: 15px;
}

.drop-zone h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.drop-zone p {
    color: var(--muted);
    font-size: 14px;
}

.drop-zone small {
    display: block;
    color: #999eab;
    margin-top: 10px;
    font-size: 12px;
}

.browse-button {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 0;
}

.browse-button:hover {
    text-decoration: underline;
}


/* Preview */

.preview-container {
    display: flex;
    gap: 18px;
    align-items: center;

    margin-top: 20px;

    padding: 14px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: #fafbfc;
}

.preview-image-wrapper {
    width: 85px;
    height: 85px;

    flex-shrink: 0;

    border-radius: 12px;
    overflow: hidden;

    background: #eee;
}

.preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.preview-info > div {
    min-width: 0;
}

.preview-label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 2px;
}

.preview-info strong {
    display: block;
    font-size: 14px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-info span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.remove-button {
    border: 1px solid var(--border);
    background: white;

    color: var(--danger);

    border-radius: 9px;

    padding: 8px 12px;
    font-size: 12px;

    transition: 0.2s ease;
}

.remove-button:hover {
    background: #fff2f3;
}


/* Form footer */

.form-footer {
    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.upload-message {
    min-height: 20px;
    font-size: 13px;
}

.upload-message.success {
    color: var(--success);
}

.upload-message.error {
    color: var(--danger);
}

.upload-button {
    min-width: 155px;

    border: 0;
    border-radius: 11px;

    background: var(--primary);
    color: white;

    padding: 13px 20px;

    font-size: 14px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.upload-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.22);
}

.upload-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 15px;
    height: 15px;

    display: none;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;

    border-radius: 50%;

    animation: spin 0.7s linear infinite;
}

.upload-button.loading .spinner {
    display: block;
}

.upload-button.loading .button-text {
    opacity: 0.8;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Gallery */

.gallery-section {
    margin-top: 55px;
}

.gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 24px;
}

.photo-count {
    background: white;
    border: 1px solid var(--border);

    color: var(--muted);

    border-radius: 30px;
    padding: 7px 13px;

    font-size: 12px;
}


/* Gallery grid */

.gallery {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


/* Image cards */

.image-card {
    position: relative;

    overflow: hidden;

    background: white;

    border-radius: 16px;

    border: 1px solid var(--border);

    box-shadow: 0 8px 25px rgba(25, 31, 52, 0.06);

    animation: cardIn 0.45s ease both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-wrapper {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eceef3;

    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}

.image-card:hover .image-wrapper img {
    transform: scale(1.07);
    filter: brightness(0.78);
}


/* Hover overlay */

.image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.view-button {
    width: 45px;
    height: 45px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    backdrop-filter: blur(8px);

    font-size: 19px;
}


/* Card information */

.card-info {
    padding: 13px 14px;
}

.card-name {
    display: block;

    font-size: 13px;
    font-weight: 700;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-date {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 3px;
}


/* Empty gallery */

.empty-gallery {
    min-height: 300px;

    background: white;

    border: 1px dashed #dfe2ea;

    border-radius: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px;
}

.empty-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: #f0efff;
    color: var(--primary);

    border-radius: 15px;

    font-size: 25px;

    margin-bottom: 15px;
}

.empty-gallery h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.empty-gallery p {
    color: var(--muted);
    font-size: 13px;
}


/* ==============================
   LIGHTBOX
============================== */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 1000;

    background: rgba(10, 12, 20, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    animation: fadeIn 0.2s ease;
}

/* IMPORTANT:
   Force hidden lightboxes to actually disappear.
*/
.lightbox[hidden] {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox img {
    display: block;

    max-width: min(1100px, 95vw);
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    z-index: 1001;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 30px;
    line-height: 1;

    display: grid;
    place-items: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}


/* Responsive */

@media (max-width: 950px) {
    .gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    main {
        padding-top: 25px;
    }

    .upload-section {
        padding: 22px;
    }

    .gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .gallery-section {
        margin-top: 40px;
    }
}

@media (max-width: 500px) {
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .upload-button {
        width: 100%;
    }

    .preview-container {
        align-items: flex-start;
    }

    .preview-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .card-info {
        padding: 10px;
    }

    .drop-zone {
        min-height: 205px;
        padding: 20px;
    }
}


.lightbox[hidden] {
    display: none !important;
}



 