:root {
    --bsn-emerald: #0E7C6B;
    --bsn-mint: #6CCBAA;
    --bsn-seafoam: #E8F6F1;
    --bsn-coral: #FF7A59;
    --bsn-slate: #1F2D2D;
    --bsn-white: #FFFFFF;
    --bsn-body: #4F6161;
    --bsn-border: #D6E8E2;
    --bsn-shadow: 0 10px 28px rgba(15, 44, 39, 0.08);
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--bsn-seafoam);
    color: var(--bsn-slate);
}

a {
    color: var(--bsn-emerald);
    text-decoration: none;
}

a:hover {
    color: #0B695A;
}

.bsn-navbar {
    background: var(--bsn-white);
    border-bottom: 1px solid var(--bsn-border);
    box-shadow: 0 3px 14px rgba(15, 44, 39, 0.06);
}

.bsn-navbar .navbar-brand img {
    height: 44px;
    width: auto;
}

.bsn-navbar .nav-link {
    color: var(--bsn-slate);
    font-weight: 500;
}

.bsn-navbar .nav-link:hover,
.bsn-navbar .nav-link:focus,
.bsn-navbar .nav-link.active {
    color: var(--bsn-emerald);
}

.bsn-section {
    padding: 4.5rem 0;
}

.bsn-section-soft {
    padding: 4.5rem 0;
    background-color: var(--bsn-seafoam);
}

.bsn-hero {
    background: linear-gradient(135deg, #F8FFFC 0%, #EAF9F3 100%);
    padding: 5.5rem 0;
}

.bsn-hero h1,
.bsn-hero h2 {
    color: var(--bsn-slate);
    font-weight: 700;
}

.bsn-hero p {
    color: var(--bsn-body);
    font-size: 1.0625rem;
}

.bsn-card,
.bsn-feature-card,
.bsn-stat-card,
.bsn-panel-card,
.bsn-form-card {
    background: var(--bsn-white);
    border: 1px solid var(--bsn-border);
    border-radius: 12px;
    box-shadow: var(--bsn-shadow);
}

.bsn-card,
.bsn-feature-card,
.bsn-panel-card,
.bsn-form-card {
    padding: 1.5rem;
}

.bsn-feature-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bsn-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 44, 39, 0.12);
}

.bsn-stat-card {
    padding: 1rem 1.25rem;
}

.bsn-stat-card .stat-label {
    color: var(--bsn-body);
    font-size: 0.9rem;
}

.bsn-stat-card .stat-value {
    color: var(--bsn-slate);
    font-weight: 700;
    font-size: 1.5rem;
}

.bsn-btn-primary,
.bsn-btn-coral,
.bsn-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.bsn-btn-primary {
    background-color: var(--bsn-emerald);
    color: var(--bsn-white);
}

.bsn-btn-primary:hover {
    background-color: #0B6A5C;
    color: var(--bsn-white);
}

.bsn-btn-coral {
    background-color: var(--bsn-coral);
    color: var(--bsn-white);
}

.bsn-btn-coral:hover {
    background-color: #E76647;
    color: var(--bsn-white);
}

.bsn-btn-outline {
    background-color: var(--bsn-white);
    border-color: var(--bsn-emerald);
    color: var(--bsn-emerald);
}

.bsn-btn-outline:hover {
    background-color: var(--bsn-emerald);
    color: var(--bsn-white);
}

.bsn-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #D9F0E8;
    color: var(--bsn-emerald);
}

.bsn-dashboard-shell {
    min-height: 100vh;
    display: flex;
    background-color: #F5FBF9;
}

.bsn-sidebar {
    width: 270px;
    background: var(--bsn-white);
    border-right: 1px solid var(--bsn-border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    z-index: 1020;
}

.bsn-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--bsn-slate);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.bsn-sidebar-brand img {
    height: 36px;
    width: auto;
}

.bsn-sidebar .nav-link {
    color: #405252;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    font-weight: 500;
    padding: 0.55rem 0.7rem;
}

.bsn-sidebar .nav-link:hover,
.bsn-sidebar .nav-link.active {
    color: var(--bsn-emerald);
    background-color: #EAF8F2;
}

.bsn-sidebar .nav-link i {
    margin-right: 0.45rem;
}

.bsn-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bsn-main-header {
    background: var(--bsn-white);
    border-bottom: 1px solid var(--bsn-border);
    padding: 0.9rem 1.2rem;
}

.bsn-notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #BFE1D6;
    background: #F1FAF6;
    color: var(--bsn-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bsn-notification-btn:hover {
    background: var(--bsn-emerald);
    color: var(--bsn-white);
    border-color: var(--bsn-emerald);
}

.bsn-notification-btn i {
    font-size: 1rem;
    line-height: 1;
}

.bsn-notification-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--bsn-coral);
    color: var(--bsn-white);
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    border: 2px solid var(--bsn-white);
}

.bsn-notification-menu {
    border: 1px solid var(--bsn-border);
    border-radius: 12px;
    box-shadow: var(--bsn-shadow);
}

.bsn-notification-item {
    border-left: 3px solid transparent;
}

.bsn-notification-item:hover {
    background-color: #F5FBF9;
}

.bsn-notification-item.is-unread {
    background-color: #F2FBF7;
    border-left-color: var(--bsn-emerald);
}

.bsn-main-body {
    padding: 1.25rem;
}

.bsn-form-card label {
    color: #324646;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.bsn-form-card .form-control,
.bsn-form-card .form-select,
.bsn-form-card .form-check-input {
    border-color: #CFE4DD;
}

.bsn-form-card .form-control:focus,
.bsn-form-card .form-select:focus,
.bsn-form-card .form-check-input:focus {
    border-color: var(--bsn-mint);
    box-shadow: 0 0 0 0.2rem rgba(108, 203, 170, 0.2);
}

.bsn-footer {
    background: var(--bsn-white);
    border-top: 1px solid var(--bsn-border);
    color: #4B5F5F;
    padding: 2rem 0;
}

.bsn-footer a {
    color: #3F5757;
}

.bsn-footer a:hover {
    color: var(--bsn-emerald);
}

.bsn-kicker {
    color: var(--bsn-emerald);
    font-weight: 600;
    font-size: 0.92rem;
}

.bsn-muted {
    color: var(--bsn-body);
}

.bsn-placeholder {
    background: repeating-linear-gradient(
        45deg,
        #EAF4F0,
        #EAF4F0 10px,
        #F8FCFA 10px,
        #F8FCFA 20px
    );
    border: 1px dashed #C6DFD6;
    border-radius: 10px;
    min-height: 180px;
}

.bsn-auth-page {
    background: linear-gradient(180deg, #F4FBF8 0%, #E8F6F1 100%);
}

.bsn-auth-side {
    background: linear-gradient(140deg, #0E7C6B 0%, #0B6A5C 100%);
    color: var(--bsn-white);
}

.bsn-auth-side-content {
    max-width: 460px;
    margin: auto;
    padding: 2rem;
}

.bsn-auth-side-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bsn-white);
}

.bsn-auth-side-content p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

.bsn-auth-card {
    max-width: 560px;
    background: var(--bsn-white);
    border: 1px solid var(--bsn-border);
    border-radius: 14px;
    box-shadow: var(--bsn-shadow);
    padding: 1.5rem;
}

.bsn-auth-logo {
    width: 188px;
    max-width: 100%;
    height: auto;
}

.bsn-auth-logo-sm {
    width: 132px;
    max-width: 100%;
    height: auto;
}

.bsn-auth-card .form-control,
.bsn-auth-card .input-group-text,
.bsn-auth-card .btn-outline-secondary {
    border-color: #CFE4DD;
}

.bsn-auth-card .input-group-text {
    background: #F7FCFA;
    color: var(--bsn-emerald);
}

.bsn-auth-card .form-control {
    min-height: 46px;
}

.bsn-auth-card .form-control:focus,
.bsn-auth-card .form-check-input:focus {
    border-color: var(--bsn-mint);
    box-shadow: 0 0 0 0.2rem rgba(108, 203, 170, 0.2);
}

.bsn-password-toggle {
    min-width: 46px;
}

.bsn-subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.bsn-subscription-status.is-active {
    background-color: #DFF4EA;
    color: #0A6A58;
}

.bsn-subscription-status.is-passive {
    background-color: #FFECE7;
    color: #AD4D35;
}

.bsn-subscription-kpi {
    border: 1px dashed #CFE4DD;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    background: #FBFFFD;
}

.bsn-subscription-kpi .label {
    font-size: 0.82rem;
    color: var(--bsn-body);
}

.bsn-subscription-kpi .value {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--bsn-slate);
}

@media (max-width: 991.98px) {
    .bsn-sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.25s ease;
        box-shadow: 0 14px 34px rgba(15, 44, 39, 0.18);
    }

    .bsn-sidebar.is-open {
        left: 0;
    }

    .bsn-main-body {
        padding: 1rem;
    }

    .bsn-auth-card {
        max-width: 620px;
    }
}

@media (max-width: 767.98px) {
    .bsn-section,
    .bsn-section-soft {
        padding: 3rem 0;
    }

    .bsn-hero {
        padding: 3.25rem 0;
    }
}

/* ============================================================
   Modern bildirim çanı + profil avatar (panel & header navbar)
   ============================================================ */

.bsn-notif-dropdown {
    position: relative;
}

.bsn-notif-trigger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #BFE1D6;
    background: #F1FAF6;
    color: var(--bsn-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
    cursor: pointer;
}

.bsn-notif-trigger:hover,
.bsn-notif-trigger:focus-visible,
.bsn-notif-trigger[aria-expanded="true"] {
    background: var(--bsn-emerald);
    color: var(--bsn-white);
    border-color: var(--bsn-emerald);
    outline: none;
}

.bsn-notif-trigger i,
.bsn-notif-trigger iconify-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.bsn-notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #E5384C;
    color: var(--bsn-white);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bsn-white);
    box-shadow: 0 4px 10px rgba(229, 56, 76, 0.35);
    animation: bsn-notif-pulse 1.8s ease-out infinite;
}

@keyframes bsn-notif-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(229, 56, 76, 0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(229, 56, 76, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 56, 76, 0); }
}

.bsn-notif-panel {
    width: min(360px, calc(100vw - 24px));
    border: 1px solid var(--bsn-border);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 44, 39, 0.14);
    overflow: hidden;
    margin-top: 0.5rem;
}

.bsn-notif-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, #F1FAF6 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--bsn-border);
}

.bsn-notif-panel__head h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bsn-slate);
}

.bsn-notif-mark-all {
    margin: 0;
}

.bsn-notif-mark-all-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--bsn-border);
    background: var(--bsn-white);
    color: var(--bsn-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.bsn-notif-mark-all-btn:hover,
.bsn-notif-mark-all-btn:focus-visible {
    background: var(--bsn-emerald);
    color: var(--bsn-white);
    border-color: var(--bsn-emerald);
    outline: none;
}

.bsn-notif-list {
    max-height: 360px;
    overflow-y: auto;
    background: var(--bsn-white);
}

.bsn-notif-list::-webkit-scrollbar { width: 6px; }
.bsn-notif-list::-webkit-scrollbar-thumb { background: #CFE4DD; border-radius: 999px; }

.bsn-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #EEF5F2;
    color: var(--bsn-slate);
    text-decoration: none;
    transition: background 0.15s ease;
    position: relative;
}

.bsn-notif-item:last-child {
    border-bottom: 0;
}

.bsn-notif-item:hover,
.bsn-notif-item:focus-visible {
    background-color: #F5FBF9;
    color: var(--bsn-slate);
    outline: none;
}

.bsn-notif-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.45rem;
    background: transparent;
    flex-shrink: 0;
}

.bsn-notif-item.is-unread {
    background-color: #F2FBF7;
}

.bsn-notif-item.is-unread .bsn-notif-item__dot {
    background: var(--bsn-coral);
    box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.18);
}

.bsn-notif-item.is-unread .bsn-notif-item__title {
    font-weight: 700;
}

.bsn-notif-item__body {
    flex: 1 1 auto;
    min-width: 0;
}

.bsn-notif-item__title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--bsn-slate);
    line-height: 1.25;
    margin-bottom: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.bsn-notif-item__msg {
    font-size: 0.78rem;
    color: var(--bsn-body);
    line-height: 1.35;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bsn-notif-item__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #7A8A8A;
}

.bsn-notif-item__meta i,
.bsn-notif-item__meta iconify-icon {
    font-size: 0.78rem;
    line-height: 1;
}

.bsn-notif-item__pill {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(255, 122, 89, 0.15);
    color: var(--bsn-coral);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bsn-notif-empty {
    padding: 1.6rem 1rem;
    text-align: center;
    color: var(--bsn-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.bsn-notif-empty i,
.bsn-notif-empty iconify-icon {
    font-size: 1.6rem;
    color: #B6CFC6;
}

.bsn-notif-panel__foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-top: 1px solid var(--bsn-border);
    background: #FAFCFB;
}

.bsn-notif-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bsn-emerald);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.bsn-notif-link:hover,
.bsn-notif-link:focus-visible {
    background: rgba(14, 124, 107, 0.08);
    color: var(--bsn-emerald);
    outline: none;
}

.bsn-notif-foot-btn {
    border: 1px solid var(--bsn-border);
    background: var(--bsn-white);
    color: var(--bsn-slate);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.bsn-notif-foot-btn:hover:not(:disabled),
.bsn-notif-foot-btn:focus-visible:not(:disabled) {
    background: var(--bsn-emerald);
    color: var(--bsn-white);
    border-color: var(--bsn-emerald);
    outline: none;
}

.bsn-notif-foot-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Profil avatar tetikleyici (panel header) */
.bsn-profile-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 0 0 2px transparent;
}

.bsn-profile-trigger:hover,
.bsn-profile-trigger:focus-visible,
.bsn-profile-trigger[aria-expanded="true"] {
    box-shadow: 0 0 0 2px var(--bsn-mint);
    outline: none;
}

.bsn-profile-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bsn-hero--compact {
    padding: 3.25rem 0 2.75rem;
}

.bsn-legal-page.bsn-card {
    padding: 2rem 2.25rem;
}

.bsn-legal-page__body {
    line-height: 1.75;
    color: var(--bsn-body);
    font-size: 1rem;
}

.bsn-legal-page__body > *:first-child {
    margin-top: 0;
}

.bsn-legal-page__body h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bsn-slate);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--bsn-border);
}

.bsn-legal-page__body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bsn-slate);
}

.bsn-legal-page__body h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bsn-slate);
}

.bsn-legal-page__body p,
.bsn-legal-page__body ul,
.bsn-legal-page__body ol {
    margin-bottom: 1rem;
}

.bsn-legal-page__body ul,
.bsn-legal-page__body ol {
    padding-left: 1.35rem;
}

.bsn-legal-page__body li {
    margin-bottom: 0.35rem;
}

.bsn-legal-page__body a {
    color: var(--bsn-emerald);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bsn-legal-page__body a:hover {
    color: #0B6A5C;
}

.bsn-legal-page__body em {
    color: var(--bsn-body);
    font-style: italic;
}

.bsn-legal-page__body table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.bsn-legal-page__body th,
.bsn-legal-page__body td {
    border: 1px solid var(--bsn-border);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.bsn-legal-page__body th {
    background-color: var(--bsn-seafoam);
    font-weight: 600;
}

.bsn-legal-nav__link {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--bsn-border);
    background: var(--bsn-seafoam);
    color: var(--bsn-slate);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bsn-legal-nav__link:hover {
    background: var(--bsn-emerald);
    border-color: var(--bsn-emerald);
    color: var(--bsn-white);
}

@media (max-width: 575.98px) {
    .bsn-legal-page.bsn-card {
        padding: 1.25rem 1.15rem;
    }

    .bsn-hero--compact {
        padding: 2.5rem 0 2rem;
    }

    .bsn-legal-page__body h2 {
        font-size: 1.15rem;
    }
}

.bsn-payment-trust__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.bsn-payment-trust__logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

.bsn-payment-trust__logo--iyzico {
    max-height: 32px;
}

.bsn-footer-payment .bsn-payment-trust {
    margin-top: 0;
}

.bsn-footer-payment .bsn-payment-trust__text {
    text-align: center;
}

.bsn-footer-payment .bsn-payment-trust__logos {
    justify-content: center;
}

/* Mobil uyum */
@media (max-width: 575.98px) {
    .bsn-notif-panel {
        width: calc(100vw - 24px);
    }

    .bsn-main-header {
        padding: 0.7rem 0.85rem;
    }

    .bsn-main-header h1 {
        font-size: 1rem;
    }
}
