﻿/* ==========================================================
   JOBSEEK 2026 PUBLIC EXPERIENCE
   ========================================================== */

:root {
    /* Brand */

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #06b6d4;
    /* Text */

    --text: #0f172a;
    --text-muted: #64748b;
    /* Backgrounds */

    --bg: #f8fafc;
    --bg-soft: #eef2ff;
    /* Glass */

    --glass-bg: rgba(255,255,255,.72);
    --glass-border: rgba(255,255,255,.4);
    /* Radius */

    --radius-sm: 18px;
    --radius-md: 28px;
    --radius-lg: 36px;
    /* Shadows */

    --shadow-soft: 0 10px 40px rgba(15,23,42,.08);
    --shadow-hover: 0 24px 60px rgba(15,23,42,.12);
}

/* ==========================================================
   GLOBAL
   ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient( circle at top left, rgba(37,99,235,.10), transparent 35%), radial-gradient( circle at top right, rgba(6,182,212,.08), transparent 30%), radial-gradient( circle at bottom center, rgba(139,92,246,.05), transparent 35%), var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================
   HEADER
   ========================================================== */

.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

    .logo:hover {
        color: var(--primary);
    }

.public-header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .public-header nav a {
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
    }

/* ==========================================================
   HERO
   ========================================================== */

.hero-section {
    padding: 120px 0 80px 0;
    position: relative;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* ==========================================================
   GLASS
   ========================================================== */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
}

/* ==========================================================
   SEARCH PANEL
   ========================================================== */

.search-panel {
    width: 95%;
    margin: 0 auto;
    padding: 25px;
}

.search-input {
    border: none !important;
    box-shadow: none !important;
    font-size: 1.1rem;
    padding: 16px;
}

    .search-input:focus {
        box-shadow: none !important;
    }

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn-jobseek {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 700;
    transition: all .25s ease;
}

    .btn-jobseek:hover {
        background: var(--primary-hover);
        color: white;
        transform: translateY(-2px);
    }

/* Outline buttons share the same pill shape, weight,
   and hover lift as the primary button, just with a
   transparent fill and colored border/text instead -
   keeps every secondary action visually consistent
   with the primary one across the whole app. */

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 700;
    border-width: 1.5px;
    transition: all .25s ease;
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-danger:hover {
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        background: var(--primary);
        color: white;
    }

.btn-outline-secondary {
    color: var(--text-muted);
    border-color: var(--text-muted);
}

    .btn-outline-secondary:hover {
        background: var(--text-muted);
        color: white;
    }

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

    .btn-outline-danger:hover {
        background: #dc3545;
        color: white;
    }

/* Smaller pill buttons (btn-sm) keep the same shape
   but with tighter padding, so table-row action
   buttons don't end up oversized like the full ones */

.btn-jobseek.btn-sm,
.btn-outline-primary.btn-sm,
.btn-outline-secondary.btn-sm,
.btn-outline-danger.btn-sm {
    padding: 8px 18px;
    font-weight: 600;
}

/* ==========================================================
   POPULAR SEARCHES
   ========================================================== */

.popular-searches {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .popular-searches a {
        text-decoration: none;
        color: var(--text);
        padding: 10px 16px;
        border-radius: 999px;
        background: rgba(255,255,255,.65);
        transition: .2s;
    }

        .popular-searches a:hover {
            background: white;
            transform: translateY(-2px);
        }

/* ==========================================================
   SECTIONS
   ========================================================== */

.section-spacing {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .section-header p {
        color: var(--text-muted);
    }

/* ==========================================================
   FEATURED JOBS
   ========================================================== */

.featured-job-card {
    padding: 28px;
    height: 100%;
    transition: all .3s ease;
}

    .featured-job-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.company-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
}

.company-name {
    color: var(--text-muted);
}

.salary {
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================
   EMPLOYER LOGO WALL
   ========================================================== */

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.employer-logo {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.6);
    text-align: center;
    font-weight: 700;
    color: #94a3b8;
    transition: .25s;
}

    .employer-logo:hover {
        color: var(--text);
        transform: translateY(-4px);
    }

/* ==========================================================
   CATEGORY GRID
   ========================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    padding: 24px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

/* ==========================================================
   CTA
   ========================================================== */

.cta-panel {
    padding: 80px 40px;
    text-align: center;
}

    .cta-panel h2 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .cta-panel p {
        max-width: 700px;
        margin: 0 auto 30px auto;
        color: var(--text-muted);
    }

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .hero-section {
        padding-top: 80px;
    }

        .hero-section h1 {
            font-size: 3rem;
        }

    .cta-panel h2 {
        font-size: 2rem;
    }

    .public-header nav {
        gap: 12px;
    }
}





/* ==========================================================
   CAROUSEL
   ========================================================== */

.carousel-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
}

.carousel-row::-webkit-scrollbar {
        display: none;
    }

.carousel-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
}

.job-carousel-card {
    min-width: 360px;
    max-width: 360px;
    padding: 28px;
    scroll-snap-align: start;
    transition: .3s ease;
}

    .job-carousel-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.match-badge {
    background: rgba(16,185,129,.12);
    color: #059669;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

.job-carousel-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-name {
    color: var(--text-muted);
    margin-bottom: 6px;
}

.job-location {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.salary {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.employer-carousel-card {
    min-width: 320px;
    max-width: 320px;
    padding: 32px;
    text-align: center;
    scroll-snap-align: start;
    transition: .3s ease;
}

    .employer-carousel-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.employer-logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.open-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(37,99,235,.10);
    color: var(--primary);
    font-weight: 700;
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    transition: .3s ease;
    display: block;
}

.category-card-content {
    padding: 28px;
    text-align: left;
}

    .category-card-content h4 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
    }

.category-count {
    color: var(--primary);
    font-weight: 600;
}

.category-card-link:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

/* ======================================
   JOB SEARCH PAGE
   ====================================== */

.jobs-hero {
    padding: 80px 0 40px 0;
}

    .jobs-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .jobs-hero p {
        color: var(--text-muted);
        margin-bottom: 30px;
    }

.results-header {
    width: 95%;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .results-header h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 700;
    }


.results-header {
    width: 95%;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .results-header h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 700;
    }

.search-job-card {
    padding: 30px;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

    .search-job-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-footer-actions {
    margin-top: auto;
    padding-top: 20px;
}

.empty-state {
    padding: 80px;
    text-align: center;
}

.filter-toolbar {
    width: 95%;
    margin: 25px auto 0 auto;
    padding: 18px;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.filter-toolbar {
    width: 95%;
    margin: 20px auto 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    flex-wrap: nowrap;
}

    .filter-toolbar .form-select {
        flex: 1;
        min-width: 140px;
        border: none;
        background: rgba(255,255,255,.75);
        box-shadow: none;
        border-radius: 12px;
    }

        .filter-toolbar .form-select:focus {
            box-shadow: none;
        }

@media(max-width: 992px) {
    .filter-toolbar {
        flex-wrap: wrap;
    }

        .filter-toolbar .form-select {
            min-width: 100%;
        }
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.pagination-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
    transition: all .2s ease;
}

    .pagination-link:hover {
        background: rgba(37,99,235,.08);
        transform: translateY(-2px);
    }

    .pagination-link.active {
        background: var(--primary);
        color: white;
    }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.jobs-grid {
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

@media (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   JOB DETAILS
   ====================================== */

.job-details-hero {
    padding: 80px 0 30px 0;
}

.job-details-card {
    padding: 40px;
}

.job-details-header {
    display: flex;
    gap: 25px;
    align-items: center;
}

.company-logo-large {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.company-name-large {
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.job-details-title h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
}

.job-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.job-meta-footer {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    color: var(--text-muted);
}

.content-card {
    padding: 35px;
}

.job-description {
    line-height: 1.8;
}

.job-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .job-overview-list li {
        margin-bottom: 15px;
    }

@media(max-width: 768px) {
    .job-details-header {
        flex-direction: column;
        text-align: center;
    }

    .job-details-title h1 {
        font-size: 2rem;
    }
}

.saved-jobs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-size: .75rem;
    font-weight: 700;
}

/* ======================================
   CANDIDATE DASHBOARD
   ====================================== */

.dashboard-header {
    padding: 40px;
    margin-bottom: 30px;
}

    .dashboard-header h1 {
        margin-bottom: 10px;
        font-size: 2.5rem;
        font-weight: 800;
    }

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-stat-card {
    padding: 30px;
}

.dashboard-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.account-type-selector {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.account-type-card {
    padding: 20px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
    text-align: center;
    cursor: pointer;
    transition: .25s ease;
}

    .account-type-card:hover {
        transform: translateY(-3px);
    }

    .account-type-card input {
        display: none;
    }

.account-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ======================================
   CANDIDATE SHELL
   ====================================== */

.candidate-shell {
    display: flex;
    min-height: 100vh;
    gap: 30px;
    padding: 25px;
}

.candidate-sidebar {
    width: 280px;
    padding: 30px;
    position: sticky;
    top: 25px;
    height: calc(100vh - 50px);
}

.candidate-logo {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    margin-bottom: 40px;
}

.candidate-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .candidate-nav a {
        padding: 16px 20px;
        border-radius: 16px;
        text-decoration: none;
        color: var(--text);
        font-weight: 600;
        transition: .25s ease;
    }

        .candidate-nav a:hover {
            background: rgba(37,99,235,.08);
            color: var(--primary);
        }

.candidate-content {
    flex: 1;
}

@media(max-width: 992px) {

    .candidate-shell {
        flex-direction: column;
    }

    .candidate-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .candidate-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ======================================
   CANDIDATE PROFILE V2
   ====================================== */

.profile-page {
    max-width: 1100px;
    margin: 0 auto;
}

.profile-hero {
    padding: 50px;
    margin-bottom: 30px;
}

    .profile-hero h1 {
        font-size: 3rem;
        font-weight: 800;
        margin: 15px 0;
    }

    .profile-hero p {
        max-width: 700px;
        color: var(--text-muted);
    }

.profile-card {
    padding: 35px;
    margin-bottom: 25px;
}

    .profile-card h3 {
        margin-bottom: 25px;
        font-weight: 700;
    }

    .profile-card label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .profile-card .form-control,
    .profile-card .form-select {
        border-radius: 16px;
        padding: 14px 18px;
        border: 1px solid rgba(0,0,0,.08);
    }

.profile-actions {
    margin-top: 30px;
    margin-bottom: 60px;
}

.cv-placeholder {
    padding: 25px;
    border-radius: 18px;
    background: rgba(37,99,235,.05);
    color: var(--primary);
    text-align: center;
    font-weight: 600;
}

/* ======================================
   DASHBOARD V3
   ====================================== */

.dashboard-hero {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
}

.dashboard-hero-content p {
    max-width: 650px;
    color: var(--text-muted);
}

.completion-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .completion-ring strong {
        display: block;
        font-size: 2.25rem;
        font-weight: 800;
    }

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.metric-card {
    padding: 35px;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    color: var(--text-muted);
    font-weight: 600;
}

.dashboard-next-steps {
    padding: 35px;
    margin-bottom: 40px;
}

    .dashboard-next-steps h3 {
        margin-bottom: 20px;
        font-weight: 700;
    }

    .dashboard-next-steps ul {
        margin: 0;
        padding-left: 20px;
    }

    .dashboard-next-steps li {
        margin-bottom: 12px;
    }

/* ======================================
   SIDEBAR V2
   ====================================== */

.candidate-profile-card {
    text-align: center;
    margin-bottom: 25px;
}

.candidate-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.candidate-headline {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.candidate-location {
    color: var(--text-muted);
    font-size: .9rem;
}

.candidate-completion-card {
    margin-bottom: 25px;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.completion-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
}

.completion-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient( 135deg, #2563eb, #06b6d4);
}

.nav-badge {
    margin-left: auto;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .75rem;
}

.insight-card {
    margin-top: 25px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(37,99,235,.08);
    text-align: center;
}

/* ======================================
   DASHBOARD WIDGETS
   ====================================== */

.dashboard-widgets {
    margin-bottom: 40px;
}

.dashboard-widget {
    padding: 30px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

    .dashboard-job-item:last-child {
        border-bottom: none;
    }

.dashboard-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.status-badge {
    background: rgba(37,99,235,.12);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

/* ======================================
   DOCUMENT CENTRE
   ====================================== */

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

    .document-item:last-child {
        border-bottom: none;
    }

.document-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.document-meta {
    color: var(--text-muted);
    margin-top: 6px;
}

.document-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.document-primary {
    background: linear-gradient( 135deg, #10b981, #059669);
    color: white;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 700;
}

@media(max-width: 768px) {
    .document-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-actions {
        width: 100%;
    }
}

/* ======================================
   DOCUMENT UPLOAD
   ====================================== */

input[type=file].form-control {
    padding: 12px;
    border-radius: 16px;
    background: white;
}

.profile-card textarea.form-control {
    min-height: 120px;
}