:root {
    --primary: #635bff;
    --primary-dark: #4b44d8;
    --background: #f5f7fb;
    --surface: #ffffff;
    --text: #192033;
    --muted: #667085;
    --border: #e4e7ec;
    --success: #079455;
    --danger: #d92d20;
    --warning: #dc6803;
    --shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 70px;
    color: var(--text);
    background:
        radial-gradient(circle at top right, #ebe9ff, transparent 30%),
        var(--background);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

h1 {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: 32px;
}

h2 {
    margin-top: 28px;
    font-size: 26px;
}

h3 {
    margin-top: 28px;
    font-size: 20px;
}

p {
    color: var(--muted);
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

nav a {
    padding: 9px 14px;
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

nav a:hover {
    color: var(--primary);
    background: #f0efff;
}

hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

form {
    max-width: 760px;
    margin: 20px 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--text);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    color: var(--text);
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font: inherit;
    transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

textarea {
    min-height: 230px;
    resize: vertical;
}

button,
a.button {
    display: inline-block;
    padding: 11px 18px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover,
a.button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

table {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid var(--border) !important;
    border-radius: 16px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
}

th,
td {
    padding: 15px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    text-align: left;
    vertical-align: top;
}

th {
    color: #344054;
    background: #f9fafb;
    font-size: 14px;
}

tr:last-child td {
    border-bottom: 0 !important;
}

td form {
    display: inline-block;
    width: auto;
    margin: 3px !important;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

td button {
    padding: 8px 11px;
    font-size: 13px;
}

ul,
ol {
    padding: 20px 20px 20px 42px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

li {
    margin: 7px 0;
}

strong {
    color: var(--text);
}

small {
    color: var(--muted);
}

body > div {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.loading-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
}

.loading-overlay.active {
    display: flex;
}

.loading-box {
    width: 100%;
    max-width: 430px;
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border: 5px solid #e8e7ff;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 14px 50px;
    }

    h1 {
        font-size: 27px;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        width: 100%;
    }

    form {
        padding: 18px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        min-width: 140px;
    }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 36px;
}

.stat-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.stat-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 30px;
    line-height: 1.2;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 35px;
}

.section-card {
    margin: 25px 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-card h3 {
    margin-top: 0;
}

.empty-state {
    padding: 25px;
    color: var(--muted);
    border: 1px dashed #c7cbd4;
    border-radius: 14px;
    text-align: center;
    background: #fafbfc;
}

@media (max-width: 1050px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 450px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.landing-page {
    max-width: 1380px;
    padding-top: 20px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(99, 91, 255, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 35%,
            rgba(56, 189, 248, 0.12),
            transparent 25%
        ),
        #f7f8fc;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 14px 18px;
    border: 1px solid rgba(228, 231, 236, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.brand {
    color: var(--primary);
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
    min-height: 620px;
    padding: 75px 35px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 13px;
    color: var(--primary);
    border: 1px solid #dcd9ff;
    border-radius: 999px;
    background: #f1f0ff;
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    max-width: 750px;
    margin: 0;
    color: #141829;
    font-size: clamp(42px, 5.8vw, 76px);
    line-height: 1.04;
    letter-spacing: -3px;
}

.hero-description {
    max-width: 680px;
    margin: 25px 0;
    color: #526078;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-button {
    padding: 14px 22px !important;
}

.secondary-button {
    display: inline-block;
    padding: 13px 21px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.secondary-button:hover {
    color: var(--primary);
    border-color: #c9c5ff;
}

.hero-note {
    margin-top: 17px;
    font-size: 14px;
}

.hero-preview {
    padding: 28px;
    border: 1px solid #e1e2ec;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 35px 80px rgba(48, 43, 121, 0.18),
        0 5px 15px rgba(16, 24, 40, 0.06);
    transform: rotate(1.5deg);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.preview-header strong,
.preview-label {
    display: block;
}

.preview-label {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.preview-status {
    padding: 6px 10px;
    color: #067647;
    border-radius: 999px;
    background: #ecfdf3;
    font-size: 12px;
    font-weight: 700;
}

.match-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    margin: 32px auto;
    border: 15px solid #dedcff;
    border-top-color: var(--primary);
    border-radius: 50%;
    text-align: center;
}

.match-circle strong,
.match-circle span {
    display: block;
}

.match-circle strong {
    color: var(--primary);
    font-size: 36px;
}

.match-circle span {
    color: var(--muted);
    font-size: 13px;
}

.preview-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.preview-scores div {
    padding: 13px;
    border-radius: 12px;
    background: #f7f8fc;
    text-align: center;
}

.preview-scores span,
.preview-scores strong {
    display: block;
}

.preview-scores span {
    color: var(--muted);
    font-size: 12px;
}

.skill-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.skill {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.skill.matched {
    color: #067647;
    background: #ecfdf3;
}

.skill.missing {
    color: #b42318;
    background: #fef3f2;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 70px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.trust-strip span {
    padding: 18px;
    color: #475467;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.landing-section {
    padding: 70px 25px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading > span,
.landing-cta span {
    color: var(--primary);
    font-weight: 800;
}

.section-heading h2,
.landing-cta h2 {
    margin: 10px 0;
    color: #141829;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.steps-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-card,
.feature-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.step-card h3,
.feature-card h3 {
    margin: 15px 0 8px;
}

.step-number {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    color: #fff;
    border-radius: 12px;
    background: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin: 60px 25px;
    padding: 45px;
    color: #fff;
    border-radius: 26px;
    background:
        linear-gradient(135deg, #27225f, #635bff);
    box-shadow: 0 30px 60px rgba(73, 65, 190, 0.25);
}

.landing-cta h2,
.landing-cta span {
    color: #fff;
}

.landing-footer {
    margin-top: 50px;
    padding: 35px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (max-width: 900px) {
    .landing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-nav {
        width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 65px 10px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-preview {
        max-width: 580px;
        transform: none;
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }

    .landing-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .landing-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .steps-grid,
    .features-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .preview-scores {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 50px 5px;
    }

    .landing-cta {
        margin: 40px 0;
        padding: 30px 22px;
    }
}
/* =========================================================
   CVMatch AI - Giriş ve kayıt sayfaları
   ========================================================= */

.auth-page {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #182230;
    background: #ffffff;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(480px, 1.05fr);
    min-height: 100vh;
}

/* Sol tanıtım alanı */

.auth-introduction {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
    padding: 42px 56px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(126, 119, 255, 0.65),
            transparent 31%
        ),
        radial-gradient(
            circle at 5% 80%,
            rgba(56, 189, 248, 0.24),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #17133f 0%,
            #292269 52%,
            #4d44c7 100%
        );
}

.auth-introduction::before {
    position: absolute;
    top: -110px;
    right: -100px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.auth-introduction::after {
    position: absolute;
    right: -180px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.auth-brand,
.auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-brand {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.auth-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 30px rgba(9, 7, 42, 0.2);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.auth-introduction-content {
    position: relative;
    z-index: 1;
    max-width: 590px;
    margin: 70px 0;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 700;
}

.auth-introduction h1 {
    max-width: 620px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(2.6rem, 4.5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -2.8px;
}

.auth-introduction-content > p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.auth-benefits {
    display: grid;
    gap: 18px;
    margin-top: 40px;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-check {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    font-weight: 800;
}

.auth-benefit strong,
.auth-benefit small {
    display: block;
}

.auth-benefit strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.95rem;
}

.auth-benefit small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.auth-introduction-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8125rem;
}

/* Sağ form alanı */

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 55px 70px;
    background:
        radial-gradient(
            circle at 95% 5%,
            rgba(99, 91, 255, 0.07),
            transparent 27%
        ),
        #ffffff;
}

.auth-form-container {
    width: 100%;
    max-width: 470px;
}

.auth-mobile-brand {
    display: none;
    margin-bottom: 50px;
    color: #352f8f;
}

.auth-mobile-brand .auth-brand-icon {
    border-color: transparent;
    background: #635bff;
}

.auth-heading {
    margin-bottom: 32px;
}

.auth-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #635bff;
    font-size: 0.875rem;
    font-weight: 800;
}

.auth-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.auth-heading p {
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.65;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-alert-error {
    color: #b42318;
    border-color: #fecdca;
    background: #fef3f2;
}

.auth-alert-icon {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fee4e2;
    font-weight: 900;
}

.auth-form {
    display: grid;
    gap: 21px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    color: #182230;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-family: inherit;
    font-size: 1rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-field input::placeholder {
    color: #98a2b3;
}

.auth-field input:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 78px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    width: auto;
    min-width: auto;
    margin: 0;
    padding: 6px 7px;
    color: #635bff;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.8125rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.password-toggle:hover {
    color: #453bc4;
    background: #f3f2ff;
    transform: translateY(-50%);
}

.auth-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    padding: 13px 20px;
    color: #ffffff;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #635bff, #4b43d5);
    box-shadow: 0 12px 25px rgba(99, 91, 255, 0.24);
    font-size: 1rem;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit-button:hover {
    background: linear-gradient(135deg, #574fef, #4037c7);
    box-shadow: 0 15px 30px rgba(99, 91, 255, 0.3);
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 22px;
    color: #98a2b3;
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    flex: 1;
    height: 1px;
    background: #eaecf0;
    content: "";
}

.auth-register-text {
    margin: 0;
    color: #667085;
    text-align: center;
}

.auth-register-text a {
    color: #635bff;
    font-weight: 800;
    text-decoration: none;
}

.auth-register-text a:hover {
    text-decoration: underline;
}

.auth-back-link {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
    color: #667085;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-back-link:hover {
    color: #635bff;
}

/* Tablet */

@media (max-width: 1000px) {
    .auth-layout {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .auth-introduction {
        padding: 38px;
    }

    .auth-introduction h1 {
        font-size: 3.1rem;
        letter-spacing: -2px;
    }

    .auth-form-side {
        padding: 45px;
    }
}

/* Mobil */

@media (max-width: 760px) {
    .auth-layout {
        display: block;
    }

    .auth-introduction {
        display: none;
    }

    .auth-form-side {
        align-items: flex-start;
        min-height: 100vh;
        padding: 35px 22px 55px;
    }

    .auth-form-container {
        max-width: 520px;
    }

    .auth-mobile-brand {
        display: inline-flex;
    }

    .auth-heading h2 {
        font-size: 2.1rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 420px) {
    .auth-form-side {
        padding-right: 17px;
        padding-left: 17px;
    }

    .auth-heading h2 {
        font-size: 1.85rem;
    }
}
/* =========================================================
   CVMatch AI - Dashboard
   ========================================================= */

.dashboard-page {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #182230;
    background: #f5f7fb;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Sol menü */

.dashboard-sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 270px;
    padding: 27px 19px 20px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 0 100%,
            rgba(99, 91, 255, 0.25),
            transparent 35%
        ),
        #17152f;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.dashboard-sidebar .dashboard-brand {
    margin: 0 11px 38px;
}

.dashboard-brand-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 13px;
    background: linear-gradient(135deg, #746cff, #5148db);
    box-shadow: 0 10px 25px rgba(99, 91, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 900;
}

.dashboard-brand > span:last-child {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem;
}

.dashboard-brand small {
    color: #918aff;
    font-size: inherit;
    font-weight: 800;
}

.dashboard-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.navigation-title {
    margin: 0 13px 9px;
    color: #73708b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.navigation-title-account {
    margin-top: 25px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    color: #aaa8bc;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.dashboard-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.dashboard-nav-link.active {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(99, 91, 255, 0.38),
        rgba(99, 91, 255, 0.15)
    );
}

.nav-icon {
    display: inline-flex;
    justify-content: center;
    width: 21px;
    color: #918aff;
    font-size: 1.1rem;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 15px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-avatar {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #ffffff;
    border-radius: 12px;
    background: #635bff;
    font-weight: 800;
}

.sidebar-user-info {
    min-width: 0;
    flex: 1;
}

.sidebar-user-info strong,
.sidebar-user-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-info strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.sidebar-user-info small {
    margin-top: 3px;
    color: #858298;
    font-size: 0.67rem;
}

.sidebar-logout {
    color: #858298;
    font-size: 1.1rem;
    text-decoration: none;
}

.sidebar-logout:hover {
    color: #ffffff;
}

/* Ana alan */

.dashboard-main {
    width: calc(100% - 270px);
    min-width: 0;
    margin-left: 270px;
}

.dashboard-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 42px;
}

.dashboard-mobile-header,
.dashboard-mobile-menu {
    display: none;
}

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 29px;
}

.dashboard-eyebrow,
.panel-eyebrow {
    color: #635bff;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.dashboard-welcome h1 {
    margin: 7px 0 5px;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.dashboard-welcome p {
    margin: 0;
    color: #667085;
    font-size: 0.94rem;
}

.dashboard-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    color: #ffffff;
    border-radius: 10px;
    background: linear-gradient(135deg, #635bff, #4d45d3);
    box-shadow: 0 10px 24px rgba(99, 91, 255, 0.22);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-primary-button:hover {
    color: #ffffff;
    box-shadow: 0 13px 28px rgba(99, 91, 255, 0.3);
    transform: translateY(-1px);
}

/* Bildirim */

.dashboard-alert {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 13px;
}

.dashboard-alert > span {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 900;
}

.dashboard-alert strong,
.dashboard-alert small {
    display: block;
}

.dashboard-alert small {
    margin-top: 2px;
    opacity: 0.75;
}

.dashboard-alert-success {
    color: #067647;
    border-color: #abefc6;
    background: #ecfdf3;
}

.dashboard-alert-success > span {
    background: #d1fadf;
}

/* İstatistikler */

.dashboard-statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e7e9f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.stat-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 1rem;
    font-weight: 800;
}

.stat-icon-purple {
    color: #635bff;
    background: #f0efff;
}

.stat-icon-blue {
    color: #1570ef;
    background: #eff8ff;
}

.stat-icon-green {
    color: #079455;
    background: #ecfdf3;
}

.stat-icon-white {
    color: #635bff;
    background: #ffffff;
}

.stat-change {
    padding: 5px 8px;
    color: #667085;
    border-radius: 999px;
    background: #f5f7fa;
    font-size: 0.68rem;
    font-weight: 700;
}

.dashboard-stat-card > strong {
    display: block;
    margin-top: 18px;
    color: #101828;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -1px;
}

.dashboard-stat-card > p {
    margin: 8px 0 14px;
    color: #667085;
    font-size: 0.8rem;
}

.dashboard-stat-card > a {
    color: #635bff;
    font-size: 0.75rem;
    font-weight: 750;
    text-decoration: none;
}

.featured-stat-card {
    color: #ffffff;
    border: 0;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 255, 255, 0.2),
            transparent 40%
        ),
        linear-gradient(135deg, #564de5, #746cff);
    box-shadow: 0 13px 30px rgba(99, 91, 255, 0.2);
}

.featured-stat-card > strong,
.featured-stat-card > p {
    color: #ffffff;
}

.featured-stat-card > p {
    opacity: 0.74;
}

.featured-stat-label {
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.9px;
    opacity: 0.7;
}

.score-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.score-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
}

/* Ana panel düzeni */

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 22px;
}

.dashboard-column-main,
.dashboard-column-side {
    display: grid;
    min-width: 0;
    gap: 22px;
}

.dashboard-panel {
    overflow: hidden;
    border: 1px solid #e7e9f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #eef0f4;
}

.dashboard-panel-header h2 {
    margin: 4px 0 0;
    color: #182230;
    font-size: 1.08rem;
    letter-spacing: -0.3px;
}

.dashboard-panel-header > a {
    color: #635bff;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

/* Tablolar */

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    box-shadow: none;
}

.dashboard-table th {
    padding: 11px 17px;
    color: #848b9b;
    border: 0;
    border-bottom: 1px solid #eef0f4;
    background: #fafbfc;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-table td {
    padding: 15px 17px;
    color: #475467;
    border: 0;
    border-bottom: 1px solid #f0f1f4;
    font-size: 0.79rem;
    vertical-align: middle;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-table tbody tr:hover {
    background: #fbfbfe;
}

.table-primary strong,
.table-primary small {
    display: block;
}

.table-primary strong {
    color: #182230;
    font-size: 0.8rem;
}

.table-primary small {
    max-width: 210px;
    overflow: hidden;
    margin-top: 4px;
    color: #98a2b3;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-badge {
    color: #635bff;
    font-size: 0.88rem;
    font-weight: 850;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-completed {
    color: #067647;
    background: #ecfdf3;
}

.status-failed {
    color: #b42318;
    background: #fef3f2;
}

.status-neutral {
    color: #344054;
    background: #f2f4f7;
}

.table-action {
    color: #635bff;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.table-muted {
    color: #98a2b3;
    white-space: nowrap;
}

.file-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #635bff;
    border-radius: 10px;
    background: #f0efff;
    font-size: 0.57rem;
    font-weight: 900;
}

/* Boş durum */

.dashboard-empty-state {
    padding: 55px 25px;
    text-align: center;
}

.dashboard-empty-state.compact {
    padding: 38px 25px;
}

.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #635bff;
    border-radius: 14px;
    background: #f0efff;
    font-size: 1.2rem;
}

.dashboard-empty-state h3 {
    margin: 14px 0 7px;
    color: #182230;
    font-size: 1rem;
}

.dashboard-empty-state p {
    margin: 0 auto 18px;
    color: #667085;
    font-size: 0.83rem;
}

/* İş ilanları */

.dashboard-jobs-list {
    display: grid;
}

.dashboard-job-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 22px;
    border-bottom: 1px solid #f0f1f4;
}

.dashboard-job-item:last-child {
    border-bottom: 0;
}

.job-company-icon {
    display: inline-flex;
    flex: 0 0 41px;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    color: #635bff;
    border-radius: 11px;
    background: #f0efff;
    font-weight: 850;
}

.job-item-content {
    min-width: 0;
    flex: 1;
}

.job-item-content strong,
.job-item-content span {
    display: block;
}

.job-item-content strong {
    color: #182230;
    font-size: 0.82rem;
}

.job-item-content span {
    margin-top: 3px;
    color: #635bff;
    font-size: 0.71rem;
    font-weight: 700;
}

.job-item-content p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 0.75rem;
    line-height: 1.5;
}

.dashboard-job-item time {
    color: #98a2b3;
    font-size: 0.67rem;
    white-space: nowrap;
}

/* Hızlı işlemler */

.quick-panel .dashboard-panel-header {
    border-bottom: 0;
    padding-bottom: 8px;
}

.dashboard-quick-actions {
    display: grid;
    padding: 5px 14px 15px;
}

.dashboard-quick-actions > a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 8px;
    border-radius: 11px;
    color: inherit;
    text-decoration: none;
}

.dashboard-quick-actions > a:hover {
    background: #f8f8fc;
}

.quick-action-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #635bff;
    border-radius: 10px;
    background: #f0efff;
    font-weight: 850;
}

.quick-action-icon.blue {
    color: #1570ef;
    background: #eff8ff;
}

.quick-action-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.quick-action-icon.orange {
    color: #dc6803;
    background: #fff6ed;
}

.dashboard-quick-actions strong,
.dashboard-quick-actions small {
    display: block;
}

.dashboard-quick-actions strong {
    color: #344054;
    font-size: 0.79rem;
}

.dashboard-quick-actions small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 0.68rem;
}

.quick-action-arrow {
    margin-left: auto;
    color: #b2b6c0;
}

.highest-score-card {
    padding: 25px;
    color: #ffffff;
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(255, 255, 255, 0.2),
            transparent 32%
        ),
        linear-gradient(145deg, #27225f, #635bff);
    box-shadow: 0 14px 30px rgba(51, 44, 139, 0.18);
}

.highest-score-label {
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 1px;
    opacity: 0.7;
}

.highest-score-card > strong {
    display: block;
    margin-top: 17px;
    color: #ffffff;
    font-size: 2.6rem;
    line-height: 1;
}

.highest-score-card p {
    margin: 12px 0 19px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.79rem;
    line-height: 1.55;
}

.highest-score-card a {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 750;
    text-decoration: none;
}

.dashboard-tip-card {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dcd9ff;
    border-radius: 15px;
    background: #f5f3ff;
}

.tip-icon {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #635bff;
    border-radius: 50%;
    background: #e7e4ff;
    font-weight: 900;
}

.dashboard-tip-card strong {
    color: #383277;
    font-size: 0.78rem;
}

.dashboard-tip-card p {
    margin: 5px 0 0;
    color: #686397;
    font-size: 0.71rem;
    line-height: 1.55;
}

/* Tablet */

@media (max-width: 1180px) {
    .dashboard-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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

    .quick-panel {
        grid-row: span 2;
    }
}

/* Mobil menü */

@media (max-width: 820px) {
    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        width: 100%;
        margin-left: 0;
    }

    .dashboard-mobile-header {
        position: sticky;
        z-index: 15;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        padding: 13px 20px;
        border-bottom: 1px solid #e7e9f0;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(13px);
    }

    .dashboard-mobile-header .dashboard-brand {
        color: #27225f;
    }

    .mobile-menu-button {
        width: 42px;
        min-width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        color: #352f8f;
        border: 1px solid #e1e3ea;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: none;
        font-size: 1.2rem;
    }

    .dashboard-mobile-menu {
        position: sticky;
        z-index: 14;
        top: 72px;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 13px 20px 17px;
        border-bottom: 1px solid #e7e9f0;
        background: #ffffff;
    }

    .dashboard-mobile-menu.is-open {
        display: grid;
    }

    .dashboard-mobile-menu a {
        padding: 10px;
        color: #475467;
        border-radius: 8px;
        background: #f8f9fc;
        font-size: 0.8rem;
        font-weight: 700;
        text-decoration: none;
    }

    .dashboard-content {
        padding: 28px 20px;
    }
}

/* Küçük ekranlar */

@media (max-width: 620px) {
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-primary-button {
        width: 100%;
        box-sizing: border-box;
    }

    .dashboard-statistics {
        grid-template-columns: 1fr;
    }

    .dashboard-column-side {
        grid-template-columns: 1fr;
    }

    .quick-panel {
        grid-row: auto;
    }

    .dashboard-panel-header {
        align-items: flex-start;
    }

    .dashboard-job-item {
        flex-wrap: wrap;
    }

    .dashboard-job-item time {
        width: 100%;
        padding-left: 54px;
    }

    .dashboard-mobile-menu {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
}
/* =========================================================
   CVMatch AI - CV yükleme sayfası
   ========================================================= */

.upload-page-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 27px;
}

.upload-page-header > div {
    max-width: 720px;
}

.upload-back-link {
    display: block;
    margin-bottom: 22px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.upload-back-link:hover {
    color: #635bff;
}

.upload-page-header h1 {
    margin: 7px 0 9px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.upload-page-header p {
    max-width: 650px;
    margin: 0;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.65;
}

.upload-alert-error {
    color: #b42318;
    border-color: #fecdca;
    background: #fef3f2;
}

.upload-alert-error > span {
    background: #fee4e2;
}

.upload-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 23px;
}

.upload-form-card,
.upload-info-card {
    border: 1px solid #e7e9f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.04);
}

.upload-form-card {
    padding: 27px;
}

.upload-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 23px;
    border-bottom: 1px solid #eef0f4;
}

.upload-card-icon,
.upload-info-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #635bff;
    border-radius: 12px;
    background: #f0efff;
    font-size: 1.15rem;
    font-weight: 850;
}

.upload-card-heading h2,
.upload-info-card h2 {
    margin: 0 0 6px;
    color: #182230;
    font-size: 1.08rem;
}

.upload-card-heading p {
    margin: 0;
    color: #667085;
    font-size: 0.8rem;
    line-height: 1.5;
}

.upload-form {
    display: grid;
    gap: 25px;
    padding-top: 25px;
}

.upload-field > label:first-child {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 750;
}

.upload-field > input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    color: #182230;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-family: inherit;
    font-size: 0.95rem;
}

.upload-field > input[type="text"]:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.11);
}

.upload-field > small {
    display: block;
    margin-top: 7px;
    color: #98a2b3;
    font-size: 0.72rem;
}

.resume-drop-zone {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 255px;
    padding: 32px;
    cursor: pointer;
    border: 2px dashed #d5d4e9;
    border-radius: 16px;
    background: #fbfbfe;
    text-align: center;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.resume-drop-zone:hover,
.resume-drop-zone.drag-active {
    border-color: #635bff;
    background: #f5f3ff;
}

.resume-drop-zone.drag-active {
    transform: scale(1.005);
}

.resume-drop-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.drop-zone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    margin-bottom: 16px;
    color: #635bff;
    border-radius: 15px;
    background: #ebe9ff;
    font-size: 1.45rem;
    font-weight: 850;
}

.resume-drop-zone strong {
    color: #344054;
    font-size: 0.94rem;
}

.resume-drop-zone p {
    margin: 8px 0 12px;
    color: #667085;
    font-size: 0.8rem;
}

.resume-drop-zone p span {
    color: #635bff;
    font-weight: 800;
}

.resume-drop-zone small {
    color: #98a2b3;
    font-size: 0.72rem;
}

.selected-file {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid #dcd9ff;
    border-radius: 13px;
    background: #f7f6ff;
}

.selected-file[hidden] {
    display: none;
}

.selected-file-type {
    display: inline-flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #635bff;
    border-radius: 11px;
    background: #e9e7ff;
    font-size: 0.65rem;
    font-weight: 900;
}

.selected-file > div {
    min-width: 0;
    flex: 1;
}

.selected-file strong,
.selected-file small {
    display: block;
}

.selected-file strong {
    overflow: hidden;
    color: #344054;
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-file small {
    margin-top: 4px;
    color: #98a2b3;
    font-size: 0.7rem;
}

.selected-file button {
    width: 35px;
    min-width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    color: #667085;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    font-size: 1.35rem;
}

.selected-file button:hover {
    color: #b42318;
    background: #fee4e2;
}

.upload-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 11px;
    padding-top: 22px;
    border-top: 1px solid #eef0f4;
}

.upload-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    color: #475467;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
}

.upload-cancel-button:hover {
    color: #635bff;
    border-color: #bdb9ff;
}

.upload-submit-button {
    min-height: 44px;
    border: 0;
}

.upload-submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.upload-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: upload-spin 0.75s linear infinite;
}

@keyframes upload-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Sağ bilgi alanı */

.upload-information {
    display: grid;
    gap: 17px;
}

.upload-info-card {
    padding: 23px;
}

.upload-info-card h2 {
    margin-top: 16px;
}

.upload-process-list {
    display: grid;
    gap: 19px;
    margin-top: 24px;
}

.upload-process-list > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.upload-process-list > div > span {
    display: inline-flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #635bff;
    border-radius: 50%;
    background: #f0efff;
    font-size: 0.72rem;
    font-weight: 850;
}

.upload-process-list p {
    margin: 0;
    color: #667085;
    font-size: 0.74rem;
    line-height: 1.5;
}

.upload-process-list strong {
    display: block;
    margin-bottom: 3px;
    color: #344054;
    font-size: 0.79rem;
}

.upload-security-card {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid #abefc6;
    border-radius: 15px;
    background: #ecfdf3;
}

.upload-security-icon {
    display: inline-flex;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #067647;
    border-radius: 50%;
    background: #d1fadf;
    font-weight: 900;
}

.upload-security-card strong {
    color: #05603a;
    font-size: 0.8rem;
}

.upload-security-card p {
    margin: 5px 0 0;
    color: #39765c;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 1050px) {
    .upload-layout {
        grid-template-columns: 1fr;
    }

    .upload-information {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .upload-form-card {
        padding: 20px;
    }

    .resume-drop-zone {
        min-height: 220px;
        padding: 25px 16px;
    }

    .upload-information {
        grid-template-columns: 1fr;
    }

    .upload-form-actions {
        flex-direction: column-reverse;
    }

    .upload-cancel-button,
    .upload-submit-button {
        width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================================
   CVMatch AI - CV listesi
   ========================================================= */

.resumes-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.resumes-page-header > div {
    max-width: 720px;
}

.resumes-page-header h1 {
    margin: 7px 0 8px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.resumes-page-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

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

.resume-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #e7e9f0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.resume-summary-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 900;
}

.resume-summary-icon.purple {
    color: #635bff;
    background: #f0efff;
}

.resume-summary-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.resume-summary-icon.blue {
    color: #1570ef;
    background: #eff8ff;
}

.resume-summary-card small,
.resume-summary-card strong {
    display: block;
}

.resume-summary-card small {
    margin-bottom: 5px;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
}

.resume-summary-card strong {
    color: #182230;
    font-size: 1.35rem;
    line-height: 1;
}

.resume-summary-card .summary-file-size {
    font-size: 1rem;
}

.resumes-list-panel {
    margin-bottom: 18px;
}

.resume-record-count {
    padding: 6px 10px;
    color: #667085;
    border-radius: 999px;
    background: #f2f4f7;
    font-size: 0.7rem;
    font-weight: 750;
}

.resume-file-cell {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
}

.resume-file-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #635bff;
    border-radius: 11px;
    background: #f0efff;
    font-size: 0.61rem;
    font-weight: 900;
}

.resume-file-icon.pdf {
    color: #d92d20;
    background: #fef3f2;
}

.resume-file-icon.doc,
.resume-file-icon.docx {
    color: #1570ef;
    background: #eff8ff;
}

.resume-type-badge {
    display: inline-flex;
    padding: 5px 8px;
    color: #475467;
    border: 1px solid #e4e7ec;
    border-radius: 7px;
    background: #ffffff;
    font-size: 0.67rem;
    font-weight: 800;
}

.status-dot {
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: currentColor;
}

.resume-date {
    color: #667085;
    white-space: nowrap;
}

.resume-delete-form {
    display: inline;
    margin: 0;
}

.resume-delete-button {
    width: auto;
    min-width: auto;
    margin: 0;
    padding: 7px 11px;
    color: #b42318;
    border: 1px solid #fecdca;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
    font-size: 0.7rem;
    font-weight: 800;
}

.resume-delete-button:hover {
    color: #b42318;
    border-color: #fda29b;
    background: #fef3f2;
    transform: none;
}

.resumes-empty-state {
    padding: 75px 25px;
    text-align: center;
}

.resumes-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #635bff;
    border-radius: 18px;
    background: #f0efff;
    font-size: 1.5rem;
}

.resumes-empty-state h2 {
    margin: 18px 0 8px;
    color: #182230;
    font-size: 1.15rem;
}

.resumes-empty-state p {
    max-width: 430px;
    margin: 0 auto 22px;
    color: #667085;
    font-size: 0.83rem;
    line-height: 1.6;
}

.resumes-information {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #dcd9ff;
    border-radius: 14px;
    background: #f5f3ff;
}

.resumes-information-icon {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #635bff;
    border-radius: 50%;
    background: #e7e4ff;
    font-weight: 900;
}

.resumes-information strong {
    color: #383277;
    font-size: 0.78rem;
}

.resumes-information p {
    margin: 4px 0 0;
    color: #686397;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 800px) {
    .resumes-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .resumes-page-header .dashboard-primary-button {
        width: auto;
    }

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

@media (max-width: 500px) {
    .resumes-page-header .dashboard-primary-button {
        width: 100%;
    }

    .resumes-information {
        padding: 15px;
    }
}
/* =========================================================
   CVMatch AI - İş ilanı ekleme
   ========================================================= */

.add-job-header {
    margin-bottom: 27px;
}

.add-job-header > div {
    max-width: 720px;
}

.add-job-header h1 {
    margin: 7px 0 9px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.add-job-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

.add-job-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 23px;
}

.add-job-form-card,
.add-job-info-card {
    border: 1px solid #e7e9f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.04);
}

.add-job-form-card {
    padding: 27px;
}

.add-job-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 23px;
    border-bottom: 1px solid #eef0f4;
}

.add-job-heading-icon,
.add-job-info-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #635bff;
    border-radius: 12px;
    background: #f0efff;
    font-size: 1rem;
    font-weight: 850;
}

.add-job-card-heading h2,
.add-job-info-card h2 {
    margin: 0 0 6px;
    color: #182230;
    font-size: 1.08rem;
}

.add-job-card-heading p {
    margin: 0;
    color: #667085;
    font-size: 0.8rem;
    line-height: 1.5;
}

.add-job-form {
    display: grid;
    gap: 22px;
    padding-top: 25px;
}

.add-job-field label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 750;
}

.add-job-field label span {
    margin-left: 5px;
    color: #98a2b3;
    font-size: 0.69rem;
    font-weight: 600;
}

.add-job-field label strong {
    color: #d92d20;
}

.add-job-field input,
.add-job-field textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    color: #182230;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-family: inherit;
    font-size: 0.92rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.add-job-field input {
    min-height: 52px;
    padding: 13px 15px;
}

.add-job-field textarea {
    min-height: 310px;
    padding: 15px;
    line-height: 1.65;
    resize: vertical;
}

.add-job-field input:focus,
.add-job-field textarea:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.11);
}

.add-job-field input::placeholder,
.add-job-field textarea::placeholder {
    color: #98a2b3;
}

.add-job-field > small {
    display: block;
    margin-top: 7px;
    color: #98a2b3;
    font-size: 0.71rem;
}

.add-job-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.add-job-label-row label {
    margin-bottom: 9px;
}

.job-character-counter {
    margin-bottom: 9px;
    color: #98a2b3;
    font-size: 0.7rem;
    font-weight: 700;
}

.job-character-counter.is-valid {
    color: #079455;
}

.add-job-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 11px;
    padding-top: 22px;
    border-top: 1px solid #eef0f4;
}

.add-job-submit {
    min-height: 44px;
    border: 0;
}

.add-job-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

/* Bilgi alanı */

.add-job-information {
    display: grid;
    gap: 17px;
}

.add-job-info-card {
    padding: 23px;
}

.add-job-info-card h2 {
    margin-top: 16px;
}

.add-job-info-card ul {
    display: grid;
    gap: 14px;
    margin: 21px 0 0;
    padding: 0;
    list-style: none;
}

.add-job-info-card li {
    position: relative;
    padding-left: 24px;
    color: #667085;
    font-size: 0.76rem;
    line-height: 1.55;
}

.add-job-info-card li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #079455;
    border-radius: 50%;
    background: #ecfdf3;
    content: "✓";
    font-size: 0.6rem;
    font-weight: 900;
}

.add-job-tip-card {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dcd9ff;
    border-radius: 15px;
    background: #f5f3ff;
}

.add-job-tip-card > span {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #635bff;
    border-radius: 50%;
    background: #e7e4ff;
    font-weight: 900;
}

.add-job-tip-card strong {
    color: #383277;
    font-size: 0.78rem;
}

.add-job-tip-card p {
    margin: 5px 0 0;
    color: #686397;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 1050px) {
    .add-job-layout {
        grid-template-columns: 1fr;
    }

    .add-job-information {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .add-job-form-card {
        padding: 20px;
    }

    .add-job-information {
        grid-template-columns: 1fr;
    }

    .add-job-form-actions {
        flex-direction: column-reverse;
    }

    .add-job-form-actions .upload-cancel-button,
    .add-job-submit {
        width: 100%;
        box-sizing: border-box;
    }

    .add-job-label-row {
        align-items: flex-start;
    }
}
/* =========================================================
   CVMatch AI - İş ilanları listesi
   ========================================================= */

.jobs-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.jobs-page-header > div {
    max-width: 720px;
}

.jobs-page-header h1 {
    margin: 7px 0 8px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.jobs-page-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

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

.jobs-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #e7e9f0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.jobs-summary-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 900;
}

.jobs-summary-icon.purple {
    color: #635bff;
    background: #f0efff;
}

.jobs-summary-icon.blue {
    color: #1570ef;
    background: #eff8ff;
}

.jobs-summary-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.jobs-summary-card small,
.jobs-summary-card strong {
    display: block;
}

.jobs-summary-card small {
    margin-bottom: 5px;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
}

.jobs-summary-card strong {
    color: #182230;
    font-size: 1.35rem;
    line-height: 1;
}

.jobs-list-panel {
    margin-bottom: 18px;
}

.jobs-card-list {
    display: grid;
}

.job-list-card {
    padding: 22px;
    border-bottom: 1px solid #eef0f4;
}

.job-list-card:last-child {
    border-bottom: 0;
}

.job-list-card:hover {
    background: #fcfcfe;
}

.job-list-main {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.job-company-logo {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #635bff;
    border-radius: 13px;
    background: #f0efff;
    font-size: 1rem;
    font-weight: 900;
}

.job-list-content {
    min-width: 0;
    flex: 1;
}

.job-list-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.job-list-title-row h3 {
    margin: 0 0 4px;
    color: #182230;
    font-size: 1rem;
    line-height: 1.35;
}

.job-list-title-row > div > span {
    color: #635bff;
    font-size: 0.76rem;
    font-weight: 750;
}

.job-ready-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    color: #067647;
    border-radius: 999px;
    background: #ecfdf3;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
}

.job-ready-badge > span {
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #12b76a;
}

.job-list-content > p {
    margin: 13px 0;
    color: #667085;
    font-size: 0.79rem;
    line-height: 1.65;
}

.job-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: #98a2b3;
    font-size: 0.68rem;
}

.job-list-meta strong {
    color: #667085;
}

.job-list-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
    padding-left: 63px;
}

.job-analyze-button,
.job-edit-button,
.job-delete-button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.job-analyze-button {
    gap: 6px;
    color: #ffffff;
    border: 1px solid #635bff;
    background: #635bff;
}

.job-analyze-button:hover {
    color: #ffffff;
    background: #5249dc;
}

.job-edit-button {
    color: #475467;
    border: 1px solid #d0d5dd;
    background: #ffffff;
}

.job-edit-button:hover {
    color: #635bff;
    border-color: #bdb9ff;
}

.job-delete-form {
    display: inline-flex;
    margin: 0;
}

.job-delete-button {
    width: auto;
    min-width: auto;
    color: #b42318;
    border: 1px solid #fecdca;
    background: #ffffff;
    box-shadow: none;
}

.job-delete-button:hover {
    color: #b42318;
    border-color: #fda29b;
    background: #fef3f2;
    transform: none;
}

.jobs-empty-state {
    padding: 75px 25px;
    text-align: center;
}

.jobs-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #635bff;
    border-radius: 18px;
    background: #f0efff;
    font-size: 1.5rem;
}

.jobs-empty-state h2 {
    margin: 18px 0 8px;
    color: #182230;
    font-size: 1.15rem;
}

.jobs-empty-state p {
    max-width: 440px;
    margin: 0 auto 22px;
    color: #667085;
    font-size: 0.83rem;
    line-height: 1.6;
}

.jobs-information {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #dcd9ff;
    border-radius: 14px;
    background: #f5f3ff;
}

.jobs-information-icon {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #635bff;
    border-radius: 50%;
    background: #e7e4ff;
    font-weight: 900;
}

.jobs-information strong {
    color: #383277;
    font-size: 0.78rem;
}

.jobs-information p {
    margin: 4px 0 0;
    color: #686397;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 800px) {
    .jobs-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .jobs-page-header .dashboard-primary-button {
        width: auto;
    }

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

@media (max-width: 620px) {
    .jobs-page-header .dashboard-primary-button {
        width: 100%;
    }

    .job-list-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .job-list-actions {
        align-items: stretch;
        flex-direction: column;
        padding-left: 0;
    }

    .job-list-actions > a,
    .job-delete-form,
    .job-delete-button {
        width: 100%;
    }
}
/* =========================================================
   CVMatch AI - Analiz sayfası
   ========================================================= */

.analyze-header {
    max-width: 750px;
    margin-bottom: 27px;
}

.analyze-header h1 {
    margin: 7px 0 9px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.analyze-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

.analyze-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 23px;
}

.analyze-form-card,
.analyze-info-card {
    border: 1px solid #e7e9f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.04);
}

.analyze-form-card {
    padding: 27px;
}

.analyze-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 23px;
    border-bottom: 1px solid #eef0f4;
}

.analyze-heading-icon,
.analyze-info-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #635bff;
    border-radius: 12px;
    background: #f0efff;
    font-weight: 900;
}

.analyze-card-heading h2,
.analyze-info-card h2 {
    margin: 0 0 6px;
    color: #182230;
    font-size: 1.08rem;
}

.analyze-card-heading p {
    margin: 0;
    color: #667085;
    font-size: 0.8rem;
}

.analyze-form {
    padding-top: 25px;
}

.analyze-selection-field {
    padding: 19px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fcfcfd;
}

.analyze-field-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}

.analyze-field-heading > span {
    display: inline-flex;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #635bff;
    border-radius: 9px;
    background: #f0efff;
    font-size: 0.76rem;
    font-weight: 900;
}

.analyze-field-heading label,
.analyze-field-heading small {
    display: block;
}

.analyze-field-heading label {
    color: #344054;
    font-size: 0.86rem;
    font-weight: 800;
}

.analyze-field-heading small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 0.69rem;
}

.analyze-selection-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 42px 12px 14px;
    color: #182230;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: none;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 0.86rem;
}

.analyze-selection-field select:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.11);
}

.analyze-connection {
    display: flex;
    justify-content: center;
    height: 42px;
}

.analyze-connection span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-top: 6px;
    color: #635bff;
    border-radius: 50%;
    background: #f0efff;
    font-size: 0.72rem;
}

.analyze-selection-summary {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8f9fc;
}

.analyze-selection-summary span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    color: #635bff;
    border-radius: 50%;
    background: #e9e7ff;
    font-size: 0.69rem;
    font-weight: 900;
}

.analyze-selection-summary p {
    margin: 0;
    color: #667085;
    font-size: 0.72rem;
}

.analyze-submit-button {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 67px;
    margin-top: 20px;
    padding: 13px 17px;
    color: #ffffff;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #635bff, #4c43cf);
    box-shadow: 0 12px 26px rgba(99, 91, 255, 0.24);
    text-align: left;
}

.analyze-submit-button > span:first-child {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.15);
}

.analyze-submit-button strong,
.analyze-submit-button small {
    display: block;
}

.analyze-submit-button strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.analyze-submit-button small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.69rem;
}

.analyze-button-arrow {
    margin-left: auto;
    font-size: 1.1rem;
}

.analyze-information {
    display: grid;
    gap: 17px;
}

.analyze-info-card {
    padding: 23px;
}

.analyze-info-card h2 {
    margin-top: 16px;
}

.analyze-info-card ul {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.analyze-info-card li {
    position: relative;
    padding-left: 23px;
    color: #667085;
    font-size: 0.75rem;
}

.analyze-info-card li::before {
    position: absolute;
    left: 0;
    color: #079455;
    content: "✓";
    font-weight: 900;
}

.analyze-security-card {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid #abefc6;
    border-radius: 15px;
    background: #ecfdf3;
}

.analyze-security-card > span {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #067647;
    border-radius: 50%;
    background: #d1fadf;
    font-weight: 900;
}

.analyze-security-card strong {
    color: #05603a;
    font-size: 0.78rem;
}

.analyze-security-card p {
    margin: 5px 0 0;
    color: #39765c;
    font-size: 0.71rem;
    line-height: 1.55;
}

/* Eksik CV veya ilan */

.analyze-requirements {
    max-width: 850px;
}

.analyze-missing-card {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding: 21px;
    color: #b54708;
    border: 1px solid #fedf89;
    border-radius: 15px;
    background: #fffaeb;
}

.analyze-missing-icon {
    display: inline-flex;
    flex: 0 0 37px;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #fef0c7;
    font-weight: 900;
}

.analyze-missing-card h2 {
    margin: 0 0 5px;
    color: #93370d;
    font-size: 0.95rem;
}

.analyze-missing-card p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.55;
}

.analyze-requirement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.analyze-requirement-card {
    display: flex;
    gap: 13px;
    padding: 21px;
    border: 1px solid #e4e7ec;
    border-radius: 15px;
    background: #ffffff;
}

.requirement-icon {
    display: inline-flex;
    flex: 0 0 41px;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    color: #635bff;
    border-radius: 11px;
    background: #f0efff;
}

.analyze-requirement-card h3 {
    margin: 0 0 6px;
    font-size: 0.86rem;
}

.analyze-requirement-card p {
    margin: 0 0 9px;
    color: #667085;
    font-size: 0.73rem;
    line-height: 1.5;
}

.analyze-requirement-card a {
    color: #635bff;
    font-size: 0.73rem;
    font-weight: 800;
    text-decoration: none;
}

.requirement-status {
    color: #067647;
    font-size: 0.72rem;
    font-weight: 800;
}

/* Analiz yükleniyor ekranı */

.analysis-loading-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 14, 49, 0.82);
    backdrop-filter: blur(9px);
}

.analysis-loading-overlay.active {
    display: flex;
}

.analysis-loading-box {
    width: 100%;
    max-width: 480px;
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 23px;
    background: #ffffff;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.analysis-loading-symbol {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 20px;
}

.analysis-loading-symbol span {
    position: absolute;
    inset: 0;
    border: 4px solid #e8e6ff;
    border-top-color: #635bff;
    border-radius: 50%;
    animation: upload-spin 0.9s linear infinite;
}

.analysis-loading-symbol strong {
    color: #635bff;
    font-size: 1.35rem;
}

.analysis-loading-eyebrow {
    color: #635bff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.analysis-loading-box h2 {
    margin: 8px 0 10px;
    color: #182230;
    font-size: 1.45rem;
}

.analysis-loading-box > p {
    margin: 0 auto;
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.6;
}

.analysis-loading-steps {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
}

.analysis-loading-steps span {
    padding: 6px 9px;
    color: #98a2b3;
    border-radius: 999px;
    background: #f2f4f7;
    font-size: 0.63rem;
    font-weight: 700;
}

.analysis-loading-steps span.active {
    color: #635bff;
    background: #f0efff;
}

.analysis-is-loading {
    overflow: hidden;
}

@media (max-width: 1050px) {
    .analyze-layout {
        grid-template-columns: 1fr;
    }

    .analyze-information {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .analyze-form-card {
        padding: 20px;
    }

    .analyze-information,
    .analyze-requirement-grid {
        grid-template-columns: 1fr;
    }

    .analysis-loading-box {
        padding: 30px 20px;
    }

    .analysis-loading-steps {
        align-items: stretch;
        flex-direction: column;
    }
}
/* =========================================================
   CVMatch AI - Analiz geçmişi
   ========================================================= */

.history-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.history-page-header > div {
    max-width: 720px;
}

.history-page-header h1 {
    margin: 7px 0 8px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.history-page-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

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

.history-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #e7e9f0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.history-summary-icon {
    display: inline-flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-weight: 900;
}

.history-summary-icon.purple {
    color: #635bff;
    background: #f0efff;
}

.history-summary-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.history-summary-icon.blue {
    color: #1570ef;
    background: #eff8ff;
}

.history-summary-icon.red {
    color: #d92d20;
    background: #fef3f2;
}

.history-summary-card small,
.history-summary-card strong {
    display: block;
}

.history-summary-card small {
    margin-bottom: 5px;
    color: #667085;
    font-size: 0.71rem;
    font-weight: 700;
}

.history-summary-card strong {
    color: #182230;
    font-size: 1.3rem;
}

.history-list-panel {
    overflow: hidden;
}

.history-card-list {
    display: grid;
}

.history-analysis-card {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 21px 22px;
    border-bottom: 1px solid #eef0f4;
}

.history-analysis-card:last-child {
    border-bottom: 0;
}

.history-analysis-card:hover {
    background: #fcfcfe;
}

.history-score {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

.history-score strong {
    font-size: 1.05rem;
}

.history-score span {
    margin-top: 3px;
    font-size: 0.62rem;
    font-weight: 700;
}

.history-score.score-high {
    color: #067647;
    background: #ecfdf3;
}

.history-score.score-medium {
    color: #b54708;
    background: #fffaeb;
}

.history-score.score-low {
    color: #b42318;
    background: #fef3f2;
}

.history-analysis-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.history-analysis-heading h3 {
    margin: 0 0 4px;
    color: #182230;
    font-size: 0.92rem;
}

.history-analysis-heading > div > span {
    color: #635bff;
    font-size: 0.73rem;
    font-weight: 750;
}

.history-analysis-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin-top: 12px;
    color: #98a2b3;
    font-size: 0.67rem;
}

.history-analysis-meta strong {
    color: #667085;
}

.history-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 250px;
}

.history-action-form {
    display: inline-flex;
    margin: 0;
}

.history-result-button,
.history-reanalyze-button,
.history-delete-button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 7px 11px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 0.69rem;
    font-weight: 800;
    text-decoration: none;
}

.history-result-button {
    color: #ffffff;
    border: 1px solid #635bff;
    background: #635bff;
}

.history-result-button:hover {
    color: #ffffff;
    background: #5249dc;
}

.history-reanalyze-button {
    width: auto;
    color: #475467;
    border: 1px solid #d0d5dd;
    background: #ffffff;
}

.history-reanalyze-button:hover {
    color: #635bff;
    border-color: #bdb9ff;
    background: #f9f8ff;
    transform: none;
}

.history-delete-button {
    width: auto;
    color: #b42318;
    border: 1px solid #fecdca;
    background: #ffffff;
}

.history-delete-button:hover {
    color: #b42318;
    border-color: #fda29b;
    background: #fef3f2;
    transform: none;
}

.history-empty-state {
    padding: 75px 25px;
    text-align: center;
}

.history-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #635bff;
    border-radius: 18px;
    background: #f0efff;
    font-size: 1.4rem;
}

.history-empty-state h2 {
    margin: 18px 0 8px;
    color: #182230;
    font-size: 1.15rem;
}

.history-empty-state p {
    max-width: 450px;
    margin: 0 auto 22px;
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .history-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-analysis-card {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .history-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        max-width: none;
        padding-left: 88px;
    }
}

@media (max-width: 700px) {
    .history-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .history-page-header .dashboard-primary-button {
        width: 100%;
    }

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

    .history-analysis-card {
        grid-template-columns: 1fr;
    }

    .history-analysis-heading {
        flex-direction: column;
    }

    .history-actions {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
        padding-left: 0;
    }

    .history-actions > a,
    .history-action-form,
    .history-actions button {
        width: 100%;
    }
}
/* =========================================================
   CVMatch AI - Analiz sonucu
   ========================================================= */

.result-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.result-page-header h1 {
    margin: 7px 0 6px;
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    letter-spacing: -1.3px;
}

.result-page-header p {
    margin: 0;
    color: #667085;
    font-size: 0.85rem;
}

.result-header-actions {
    display: flex;
    gap: 9px;
}

.result-secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 11px 16px;
    color: #475467;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.result-overview {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    margin-bottom: 20px;
}

.result-main-score {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 27px;
    color: #ffffff;
    border-radius: 19px;
    background: linear-gradient(135deg, #27225f, #635bff);
    box-shadow: 0 17px 35px rgba(59, 50, 151, 0.2);
}

.result-score-circle {
    display: flex;
    flex: 0 0 145px;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background:
        radial-gradient(
            closest-side,
            #39327d 79%,
            transparent 80% 100%
        ),
        conic-gradient(
            #ffffff calc(var(--score) * 1%),
            rgba(255, 255, 255, 0.18) 0
        );
    text-align: center;
}

.result-score-circle strong,
.result-score-circle span {
    display: block;
}

.result-score-circle strong {
    color: #ffffff;
    font-size: 2rem;
}

.result-score-circle span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
}

.result-score-info > span {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.68rem;
    font-weight: 800;
}

.result-score-info h2 {
    margin: 12px 0 8px;
    color: #ffffff;
    font-size: 1.3rem;
}

.result-score-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    line-height: 1.6;
}

.result-detail-scores {
    display: grid;
    gap: 11px;
}

.result-detail-score {
    padding: 18px 20px;
    border: 1px solid #e7e9f0;
    border-radius: 15px;
    background: #ffffff;
}

.result-detail-score > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.result-detail-score span {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 700;
}

.result-detail-score strong {
    color: #635bff;
    font-size: 0.9rem;
}

.result-progress {
    height: 6px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #eeeefe;
}

.result-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #635bff, #8d87ff);
}

.result-meta-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    margin-bottom: 20px;
    border: 1px solid #e7e9f0;
    border-radius: 15px;
    background: #ffffff;
}

.result-meta-card > div {
    min-width: 0;
    padding: 16px 19px;
    border-right: 1px solid #eef0f4;
}

.result-meta-card > div:last-child {
    border-right: 0;
}

.result-meta-card span,
.result-meta-card strong,
.result-meta-card small {
    display: block;
}

.result-meta-card span {
    margin-bottom: 5px;
    color: #98a2b3;
    font-size: 0.65rem;
    font-weight: 750;
}

.result-meta-card strong {
    overflow: hidden;
    color: #344054;
    font-size: 0.77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-meta-card small {
    overflow: hidden;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 20px;
}

.result-main-column,
.result-side-column {
    display: grid;
    gap: 20px;
}

.result-section-card {
    padding: 23px;
    border: 1px solid #e7e9f0;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.result-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.result-section-icon {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-weight: 900;
}

.result-section-icon.purple {
    color: #635bff;
    background: #f0efff;
}

.result-section-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.result-section-icon.red {
    color: #d92d20;
    background: #fef3f2;
}

.result-section-icon.orange {
    color: #dc6803;
    background: #fff6ed;
}

.result-section-icon.blue {
    color: #1570ef;
    background: #eff8ff;
}

.result-section-heading small {
    color: #98a2b3;
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.7px;
}

.result-section-heading h2 {
    margin: 3px 0 0;
    color: #182230;
    font-size: 0.94rem;
}

.result-summary-text,
.result-cover-letter {
    color: #475467;
    font-size: 0.81rem;
    line-height: 1.8;
}

.result-cover-letter {
    padding: 19px;
    border-left: 3px solid #635bff;
    border-radius: 0 11px 11px 0;
    background: #f9f8ff;
}

.result-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.result-skill-list span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
}

.result-skill-list.matched span {
    color: #067647;
    background: #ecfdf3;
}

.result-skill-list.missing span {
    color: #b42318;
    background: #fef3f2;
}

.result-text-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.result-text-list li {
    position: relative;
    padding-left: 21px;
    color: #475467;
    font-size: 0.74rem;
    line-height: 1.55;
}

.result-text-list li::before {
    position: absolute;
    left: 0;
    font-weight: 900;
}

.result-text-list.positive li::before {
    color: #079455;
    content: "✓";
}

.result-text-list.warning li::before {
    color: #dc6803;
    content: "↗";
}

.result-numbered-list,
.result-question-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.result-numbered-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 11px;
    background: #f8f9fc;
}

.result-numbered-list li > span {
    display: inline-flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #635bff;
    border-radius: 9px;
    background: #e9e7ff;
    font-size: 0.7rem;
    font-weight: 900;
}

.result-numbered-list p,
.result-question-list p {
    margin: 3px 0 0;
    color: #475467;
    font-size: 0.78rem;
    line-height: 1.6;
}

.result-question-list li {
    padding: 15px 17px;
    border: 1px solid #e7e9f0;
    border-radius: 12px;
}

.result-question-list li > span {
    color: #dc6803;
    font-size: 0.65rem;
    font-weight: 850;
}

.copy-cover-letter {
    width: auto;
    min-width: auto;
    margin: 0 0 0 auto;
    padding: 7px 11px;
    color: #635bff;
    border: 1px solid #dcd9ff;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
    font-size: 0.69rem;
    font-weight: 800;
}

.result-empty-text {
    margin: 0;
    color: #98a2b3;
    font-size: 0.76rem;
}

.result-download-card {
    padding: 24px;
    color: #ffffff;
    border-radius: 17px;
    background: linear-gradient(145deg, #27225f, #635bff);
}

.result-download-card > span {
    display: inline-flex;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.65rem;
    font-weight: 900;
}

.result-download-card h2 {
    margin: 15px 0 7px;
    color: #ffffff;
    font-size: 1rem;
}

.result-download-card p {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    line-height: 1.55;
}

.result-download-card a {
    display: inline-flex;
    padding: 10px 13px;
    color: #352f8f;
    border-radius: 9px;
    background: #ffffff;
    font-size: 0.71rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .result-overview,
    .result-content-grid {
        grid-template-columns: 1fr;
    }

    .result-detail-scores {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 760px) {
    .result-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-header-actions {
        width: 100%;
    }

    .result-header-actions a {
        flex: 1;
    }

    .result-main-score {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-detail-scores,
    .result-meta-card,
    .result-side-column {
        grid-template-columns: 1fr;
    }

    .result-meta-card > div {
        border-right: 0;
        border-bottom: 1px solid #eef0f4;
    }

    .result-meta-card > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    .result-header-actions {
        flex-direction: column;
    }

    .result-score-circle {
        width: 125px;
        height: 125px;
        flex-basis: 125px;
    }
}
/* =========================================================
   CVMatch AI - Profil sayfası
   ========================================================= */

.profile-page-header {
    max-width: 720px;
    margin-bottom: 24px;
}

.profile-page-header h1 {
    margin: 7px 0 8px;
    color: #111827;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.profile-page-header p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.65;
}

.profile-summary-card {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
    padding: 22px;
    color: #ffffff;
    border-radius: 17px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 255, 255, 0.18),
            transparent 30%
        ),
        linear-gradient(135deg, #27225f, #635bff);
    box-shadow: 0 15px 32px rgba(59, 50, 151, 0.18);
}

.profile-large-avatar {
    display: inline-flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 1.4rem;
    font-weight: 900;
}

.profile-summary-card h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 1.15rem;
}

.profile-summary-card p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.77rem;
}

.profile-summary-card > div:last-child > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 750;
}

.profile-summary-card i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75e0a7;
}

.profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.profile-form-card {
    padding: 24px;
    border: 1px solid #e7e9f0;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 24, 40, 0.035);
}

.profile-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f4;
}

.profile-heading-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-weight: 900;
}

.profile-heading-icon.purple {
    color: #635bff;
    background: #f0efff;
}

.profile-heading-icon.green {
    color: #079455;
    background: #ecfdf3;
}

.profile-card-heading h2 {
    margin: 0 0 5px;
    color: #182230;
    font-size: 1rem;
}

.profile-card-heading p {
    margin: 0;
    color: #667085;
    font-size: 0.74rem;
}

.profile-message {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.profile-message > span {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 900;
}

.profile-message.is-error {
    color: #b42318;
    border-color: #fecdca;
    background: #fef3f2;
}

.profile-message.is-error > span {
    background: #fee4e2;
}

.profile-message.is-success {
    color: #067647;
    border-color: #abefc6;
    background: #ecfdf3;
}

.profile-message.is-success > span {
    background: #d1fadf;
}

.profile-form {
    display: grid;
    gap: 19px;
    padding-top: 21px;
}

.profile-field label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 0.8rem;
    font-weight: 750;
}

.profile-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 12px 14px;
    color: #182230;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.87rem;
}

.profile-field input:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.11);
}

.profile-password-wrapper {
    position: relative;
}

.profile-password-wrapper input {
    padding-right: 75px;
}

.profile-password-wrapper button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: auto;
    min-width: auto;
    margin: 0;
    padding: 6px 7px;
    color: #635bff;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.69rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.profile-password-wrapper button:hover {
    background: #f0efff;
    transform: translateY(-50%);
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 18px;
    border-top: 1px solid #eef0f4;
}

.password-strength {
    margin-top: 8px;
}

.password-strength > div {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef0f4;
}

.password-strength span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.password-strength span.strength-1 {
    width: 25%;
    background: #f04438;
}

.password-strength span.strength-2 {
    width: 50%;
    background: #f79009;
}

.password-strength span.strength-3 {
    width: 75%;
    background: #fdb022;
}

.password-strength span.strength-4 {
    width: 100%;
    background: #12b76a;
}

.password-strength small {
    display: block;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 0.67rem;
}

.profile-security-note {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 17px 19px;
    border: 1px solid #dcd9ff;
    border-radius: 14px;
    background: #f5f3ff;
}

.profile-security-note > span {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #635bff;
    border-radius: 50%;
    background: #e7e4ff;
    font-weight: 900;
}

.profile-security-note strong {
    color: #383277;
    font-size: 0.78rem;
}

.profile-security-note p {
    margin: 4px 0 0;
    color: #686397;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 950px) {
    .profile-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .profile-summary-card {
        align-items: flex-start;
    }

    .profile-form-card {
        padding: 20px;
    }

    .profile-form-actions .dashboard-primary-button {
        width: 100%;
    }
}