/* Büyük Gelengeç Köyü Derneği — Üye Portalı & Header Düzen Stili (%100 Beyaz / Aydınlık Tema) */

/* Masaüstü Üst Menü ve Üye Portalı Açılır Menü Düzeltmeleri */
.bgp-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.bgp-logo-box {
    flex: 0 0 auto;
    max-width: 126px;
}

.bgp-main-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.bgp-nav-list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bgp-nav-list > li {
    flex: 0 0 auto;
}

.bgp-nav-list > li > a {
    white-space: nowrap;
    font-size: 14px;
}

@media (min-width: 1400px) {
    .bgp-header-bar {
        gap: 28px;
    }
    .bgp-logo-box {
        max-width: 142px;
    }
    .bgp-nav-list {
        gap: 26px;
    }
    .bgp-nav-list > li > a {
        font-size: 15px;
    }
}

.bgp-portal-dropdown {
    min-width: 285px !important;
    width: max-content;
    padding: 8px 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 30px rgba(2, 68, 48, 0.12) !important;
}

.bgp-portal-dropdown li {
    padding-right: 0 !important;
}

.bgp-portal-dropdown a {
    white-space: nowrap !important;
    display: block;
    padding: 9px 20px !important;
    font-size: 14px !important;
    line-height: 22px !important;
}

.bgp-portal-divider {
    border-top: 1px solid #eef2f6;
    margin-top: 6px;
    padding-top: 6px;
}

.bgp-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.bgp-action-link {
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s ease;
}

.bgp-action-link:hover {
    color: #024430;
}

.bgp-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    white-space: nowrap;
}

.bgp-user-pill a {
    color: #024430;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bgp-user-pill button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.bgp-user-pill button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.bgp-donate-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: #024430;
    color: #ffe7bb !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease;
}

.bgp-donate-cta:hover {
    background: #035c42;
}

/* Sayfa Kabuğu ve Genel Layout Yardımcıları (pre-compiled Tailwind'den bağımsız) */
.bgp-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}

.bgp-shell {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 40px 0 72px;
    font-family: 'Manrope', sans-serif;
    color: #0f172a;
}

.bgp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.bgp-card-sm {
    padding: 20px 22px;
}

/* Sade ve Net Üye Giriş Kartı */
.bgp-login-center {
    max-width: 480px;
    margin: 8px auto 0;
}

.bgp-login-header {
    text-align: center;
    margin-bottom: 24px;
}

.bgp-login-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #024430;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.bgp-login-title {
    font-size: 22px;
    font-weight: 800;
    color: #024430;
    margin: 0 0 6px;
}

.bgp-login-sub {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.bgp-field {
    margin-bottom: 18px;
}

.bgp-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 7px;
}

.bgp-pass-wrap {
    position: relative;
}

.bgp-pass-wrap .bgp-input {
    padding-right: 78px;
}

.bgp-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

.bgp-pass-toggle:hover {
    background: #f1f5f9;
    color: #024430;
}

.bgp-login-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.bgp-login-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.bgp-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .bgp-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.bgp-member-banner {
    background: #ffffff;
    border: 1px solid #cde2e7;
    border-left: 5px solid #024430;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(2, 68, 48, 0.05);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bgp-btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bgp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.bgp-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #024430;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.bgp-kpi-card--slate  { border-top-color: #0f172a; }
.bgp-kpi-card--blue   { border-top-color: #2563eb; }
.bgp-kpi-card--green  { border-top-color: #16a34a; }
.bgp-kpi-card--amber  { border-top-color: #d97706; }
.bgp-kpi-card--red    { border-top-color: #dc2626; }
.bgp-kpi-card--brand  { border-top-color: #024430; }

.bgp-kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.bgp-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
}
.bgp-dot--blue  { background: #2563eb; }
.bgp-dot--green { background: #16a34a; }
.bgp-dot--amber { background: #d97706; }
.bgp-dot--red   { background: #dc2626; }
.bgp-dot--brand { background: #024430; }

.bgp-kpi-val {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.bgp-kpi-val--green { color: #15803d; }
.bgp-kpi-val--red   { color: #b91c1c; }

.bgp-kpi-sub {
    margin-top: 6px;
    font-size: 12.5px;
    color: #64748b;
}

.bgp-sec-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #024430;
    margin: 0 0 14px;
}

.bgp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bgp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
}

.bgp-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.bgp-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.bgp-table tbody tr:hover td {
    background: #f8fafc;
}

.bgp-table tr.bgp-row-summary td {
    background: #f8fafc;
    font-weight: 700;
    border-top: 1px solid #cbd5e1;
}

.bgp-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bgp-badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.bgp-badge--green   { background: #dcfce7; color: #166534; }
.bgp-badge--amber   { background: #fef3c7; color: #92400e; }
.bgp-badge--red     { background: #fee2e2; color: #991b1b; }
.bgp-badge--blue    { background: #dbeafe; color: #1e40af; }
.bgp-badge--neutral { background: #f1f5f9; color: #334155; }

.bgp-progress-track {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.bgp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #024430 0%, #16a34a 100%);
    border-radius: 999px;
}

.bgp-chart-box {
    position: relative;
    width: 100%;
    min-height: 230px;
}

.bgp-chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    z-index: 25;
    display: none;
}

.bgp-camera-stage {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eef6f4 100%);
    border: 1px solid #cde2e7;
    border-radius: 14px;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 24px;
    overflow: hidden;
}

.bgp-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cde2e7;
    font-size: 12px;
    font-weight: 700;
    color: #024430;
    box-shadow: 0 2px 6px rgba(2, 68, 48, 0.06);
}

.bgp-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
    animation: bgpPulse 1.8s infinite;
}

@keyframes bgpPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.25); }
    100% { opacity: 1; transform: scale(1); }
}

.bgp-alert {
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.bgp-alert--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.bgp-alert--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.bgp-alert--ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.bgp-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bgp-input:focus {
    outline: none;
    border-color: #024430;
    box-shadow: 0 0 0 3px rgba(2, 68, 48, 0.12);
}

.bgp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.bgp-btn--sm {
    padding: 8px 15px;
    font-size: 13px;
}

.bgp-btn--full {
    width: 100%;
    box-sizing: border-box;
}

.bgp-btn--primary {
    background: #024430;
    color: #ffe7bb !important;
}

.bgp-btn--primary:hover {
    background: #035c42;
}

.bgp-btn--outline {
    background: #ffffff;
    color: #024430 !important;
    border-color: #cbd5e1;
}

.bgp-btn--outline:hover {
    background: #f1f5f9;
}

.bgp-empty-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    font-size: 13.5px;
    color: #475569;
}
