/* =========================================================
   SITE HEADER
   layout.css icine ekle
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.site-header .container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.site-brand {
    flex-shrink: 0;
    min-width: 0;
}

.site-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #0f172a;
    text-decoration: none;
}

.site-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand__text strong {
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.site-brand__text small {
    margin-top: 3px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 700;
}

.site-header__toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    cursor: pointer;
}

.site-header__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #0f172a;
}

.site-header__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
}

.site-nav {
    min-width: 0;
}

.site-nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    min-width: 0;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

/* header button patch */
.site-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.site-header .btn:hover {
    transform: translateY(-1px);
}

.site-header .btn--sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
}

.site-header .btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.site-header .btn--soft {
    color: #0f172a;
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.site-header .btn--ghost {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.12);
}

.site-header .btn--dark {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

/* dropdown */
.header-dropdown {
    position: relative;
}

.header-dropdown summary {
    list-style: none;
}

.header-dropdown summary::-webkit-details-marker {
    display: none;
}

.header-dropdown__summary,
.header-user {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.header-dropdown__summary:hover,
.header-user:hover,
.header-dropdown[open] .header-dropdown__summary,
.header-dropdown[open] .header-user {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.header-dropdown__summary-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.header-dropdown__label {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-dropdown__value {
    margin-top: 4px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
}

.header-dropdown__caret {
    width: 9px;
    height: 9px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.header-dropdown[open] .header-dropdown__caret {
    transform: rotate(-135deg);
}

.header-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    min-width: 220px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.header-dropdown--language .header-dropdown__menu {
    min-width: 240px;
}

.header-dropdown__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    color: #0f172a;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.header-dropdown__item:hover,
.header-dropdown__item.is-active {
    background: #f8fafc;
}

.header-dropdown__item.is-active {
    color: #1d4ed8;
    font-weight: 800;
}

.header-dropdown__item.is-danger {
    color: #dc2626;
}

.header-dropdown__item-main {
    color: inherit;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 800;
}

.header-dropdown__item-meta {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.35;
    font-weight: 700;
}

.header-user {
    padding-right: 12px;
}

.header-user__avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
}

.header-user__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.header-user__meta strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
}

.header-user__meta small {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
}

/* focus */
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}

/* responsive */
@media (max-width: 1120px) {
    .site-header__row {
        min-height: 76px;
    }

    .site-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .site-header__panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px;
        border: 1px solid #e2e8f0;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    }

    .site-header.is-open .site-header__panel,
    .site-header__panel.is-open {
        display: flex;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .site-nav__link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .site-header__actions {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header__actions > * {
        width: 100%;
    }

    .site-header .btn,
    .header-dropdown__summary,
    .header-user {
        width: 100%;
        justify-content: space-between;
    }

    .header-dropdown__menu {
        position: static;
        margin-top: 10px;
        min-width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        width: min(100% - 24px, 1400px);
    }

    .site-header__row {
        gap: 14px;
    }

    .site-brand__text small {
        display: none;
    }

    .site-brand__mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .site-header__panel {
        left: 12px;
        right: 12px;
        padding: 14px;
        border-radius: 18px;
    }
}
/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
    position: relative;
    margin-top: 48px;
    padding: 32px 0 0;
    background:
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.04), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
}

.site-footer .container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1.85fr);
    gap: 28px;
    padding: 0 0 28px;
}

.site-footer__brand {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #0f172a;
    text-decoration: none;
}

.site-footer__brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.site-footer__brand-text {
    display: flex;
    flex-direction: column;
}

.site-footer__brand-text strong {
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.site-footer__brand-text small {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.35;
    font-weight: 700;
}

.site-footer__about {
    margin: 18px 0 0;
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.9;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.site-footer__col {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.site-footer__title {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.site-footer__nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.site-footer__nav li {
    margin: 0;
    padding: 0;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: #334155;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__nav a:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.site-footer__muted {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.75;
}

.site-footer__language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.site-footer__language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-footer__language:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-1px);
}

.site-footer__language.is-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.site-footer__language--more {
    color: #64748b;
    background: #f8fafc;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 28px;
    border-top: 1px solid #e2e8f0;
}

.site-footer__copyright,
.site-footer__bottom-note {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 700;
}

.site-footer__bottom-note {
    text-align: right;
}

/* focus */
.site-footer a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 3px;
}

/* responsive */
@media (max-width: 1180px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .site-footer .container {
        width: min(100% - 24px, 1400px);
    }

    .site-footer {
        margin-top: 36px;
        padding-top: 24px;
    }

    .site-footer__brand,
    .site-footer__col {
        padding: 18px;
        border-radius: 20px;
    }

    .site-footer__cols {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__bottom-note {
        text-align: left;
    }
}
/* =========================================================
   AUTH PAGE
========================================================= */

.auth-page {
    padding: 42px 0 72px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.05), transparent 26%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.05), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.auth-page .container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.auth-page__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.auth-page__intro,
.auth-page__card {
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.auth-page__intro {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.02)),
        #ffffff;
}

.auth-page__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.auth-page__intro h1 {
    margin: 18px 0 14px;
    max-width: 760px;
    color: #0f172a;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.auth-page__intro p {
    margin: 0;
    max-width: 720px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.auth-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.auth-page__card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.auth-page__card-head {
    margin-bottom: 20px;
}

.auth-page__card-head h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.auth-page__card-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.75;
}

.auth-page__alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.65;
    font-weight: 700;
}

.auth-page__alert--error {
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.16);
    background: rgba(220, 38, 38, 0.08);
}

.auth-page__form {
    display: grid;
    gap: 16px;
}

.auth-page__note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.75;
}

@media (max-width: 1120px) {
    .auth-page__wrap {
        grid-template-columns: 1fr;
    }

    .auth-page__intro {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: 24px 0 48px;
    }

    .auth-page .container {
        width: min(100% - 24px, 1400px);
    }

    .auth-page__intro,
    .auth-page__card {
        padding: 20px;
        border-radius: 22px;
    }

    .auth-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-page__actions .btn {
        width: 100%;
    }
}
.header-logout-form {
    margin: 0;
}

.header-dropdown__button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
