﻿    /* =======================
       TEMEL DEĞİŞKENLER
    ======================= */
    :root {
        --bg: #f5f7fa;
        --card: #ffffff;
        --text: #1f2937;
        --muted: #6b7280;
        --primary: #6b8e23;
        --primary-dark: #556b2f;
        --primary-light: #8bc34a;
        --border: #e5e7eb;
        --input-border: #ccc;
        --input-bg: #fff;
        --btn: #6b8e23;
        --btn-hover: #5a781e;
        --bg-sidebar: #f1f5f9;
        --text-secondary: #475569;
        --text-muted: #64748b;
        --success-bg: #f0fdf4;
        --warning-bg: #fffbeb;
        --error-bg: #fef2f2;
        --info-bg: #eff6ff;
        --shadow-color: rgba(0, 0, 0, 0.05);
        --hover-bg: #f1f5f9;
        --menu-bg: #1e293b;
        --menu-hover: #334155;
    }

    /* =======================
       KOYU TEMA
    ======================= */
    body.dark {
        --bg: #111827;
        --card: #1f2937;
        --text: #f9fafb;
        --muted: #9ca3af;
        --border: #374151;
        --input-border: #444;
        --input-bg: #2a2a2a;
        --btn: #8bc34a;
        --btn-hover: #7cb342;
        --bg-sidebar: #334155;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --success-bg: #1a2e1a;
        --warning-bg: #3a2e1a;
        --error-bg: #3a1a1a;
        --info-bg: #1a2a3a;
        --shadow-color: rgba(0, 0, 0, 0.3);
        --hover-bg: #2d3748;
        --menu-bg: #0f172a;
        --menu-hover: #1e293b;
    }

    @media (prefers-color-scheme: dark) {
        body:not(.light) {
            --bg: #111827;
            --card: #1f2937;
            --text: #f9fafb;
            --muted: #9ca3af;
            --border: #374151;
            --input-border: #444;
            --input-bg: #2a2a2a;
            --btn: #8bc34a;
            --btn-hover: #7cb342;
            --bg-sidebar: #334155;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            --success-bg: #1a2e1a;
            --warning-bg: #3a2e1a;
            --error-bg: #3a1a1a;
            --info-bg: #1a2a3a;
            --shadow-color: rgba(0, 0, 0, 0.3);
            --hover-bg: #2d3748;
            --menu-bg: #0f172a;
            --menu-hover: #1e293b;
        }
    }

    /* =======================
       GLOBAL ORTALAMA FİX (TÜM SAYFALAR İÇİN)
    ======================= */
    html, body {
    margin: 0;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    }

    body {
        background: var(--bg);
        color: var(--text);
    }

    /* Tüm sayfaların ana container'ı (form) */
    body > form {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: var(--bg);
    box-sizing: border-box;
    overflow-x: clip;
    }

    /* İçerikteki tüm ana bloklar */
    .top-bar,
    .navbar,
    .main-layout,
    .panel-container,
    .modern-container,
    .container,
    .uye-wrapper,
    .hero-section,
    .features-section,
    .cta-section,
    .stats-joiners-grid,
    .info-card:not(.ad-column .info-card) {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
    }

    /* Default sayfasındaki main-layout özel fix */
    .main-layout {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .content-column {
        width: 100%;
    }

    /* Panel container (PanelDenizci, PanelFirma sayfaları) */
    .panel-container {
        padding: 20px;
        width: 100%;
    }

    /* Footer */
    .footer {
        max-width: 1400px;
        margin: 30px auto 0;
        padding: 20px;
        text-align: center;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 28px;
        font-weight: bold;
        color: var(--primary);
    }

    .logo-img {
        height: 55px;
        width: auto;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .logo-img:hover {
        transform: scale(1.05);
    }

    .site-title {
        color: var(--text);
    }

    .notification-panel {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* ============================================================
       NAVBAR (Ana Menü)
       ============================================================ */

    /* Ana navbar container */
    .navbar {
        background: var(--menu-bg);
        color: white;
        padding: 8px 20px;
        width: 100%;
        display: block;
        box-shadow: 0 4px 6px var(--shadow-color);
        position: sticky;
        top: 0;
        z-index: 100;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    /* Menü - ana container */
    #menu {
        display: block;
        width: 100%;
    }

    /* Menü grupları - blok olarak göster */
    .navbar .menu-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
        text-align: center;
        padding: 5px 0;

    }

    /* Menü ayırıcı - tam genişlik */
    .navbar .menu-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 5px 0;
        border: none;
    }

    /* Link butonları - inline-block ile yan yana */
    .navbar .asp-linkbutton {
        border: none;
        color: white;
        text-decoration: none;
        padding: 8px 16px;
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        transition: all 0.3s ease;
        display: inline-block;
        cursor: pointer;
        background: transparent;
        position: relative;
        white-space: nowrap;
    }


    .navbar .asp-linkbutton:hover {
        background: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(107, 142, 35, 0.4);
    }

    /* =======================
       NAVBAR - AKTİF BUTON (YEŞİL)
    ======================= */
    .navbar .asp-linkbutton.active {
        background: #4CAF50 !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
        transform: translateY(-2px);
    }

    .navbar .asp-linkbutton.active:hover {
        background: #45a049 !important;
    }

    .navbar .modern-button.active {
        background: #4CAF50 !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    }

    /* Modern butonlar (Kayıt ol) */
    .navbar .modern-button {
        background: var(--btn);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 8px 18px;
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-block;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
    }

    .navbar .modern-button:hover {
        background: var(--btn-hover);
        transform: translateY(-2px);
    }

    /* ============================================================
       TOP BAR
       ============================================================ */
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        background: transparent;
        padding: 0;
    }

    .nav-actions a {
        color: var(--text);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        padding: 6px 14px;
        border-radius: 20px;
        transition: all 0.3s ease;
        background: var(--bg-sidebar);
    }

    .nav-actions a:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.05);
    }

    .toggle-dark {
        cursor: pointer;
        font-size: 18px;
        padding: 6px 10px;
        border-radius: 50%;
        background: var(--bg-sidebar);
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .toggle-dark:hover {
        background: var(--primary);
        transform: rotate(15deg);
    }

    /* ============================================================
       HAMBURGER MENU
       ============================================================ */
    .hamburger {
        display: none;
        font-size: 28px;
        cursor: pointer;
        padding: 10px 20px;
        background: var(--primary);
        color: white;
        text-align: center;
        font-weight: bold;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .hamburger:hover {
        background: var(--btn-hover);
    }

    /* =======================
       FOOTER
    ======================= */
    .footer {
        text-align: center;
        padding: 20px;
        background: var(--card);
        border-top: 1px solid var(--border);
        font-size: 13px;
        color: var(--muted);
    }

    .footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .footer a:hover {
        background: var(--primary);
        color: white;
        text-decoration: none;
    }


    /* PUSH BUTON */
    #btnEnablePush {
        background: #4CAF50;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }

    #btnEnablePush:hover {
        background: #45a049;
    }

    /* =======================
       CONTAINER & GRID
    ======================= */
    .container {
        max-width: 1100px;
        margin: auto;
        padding: 15px;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    @media (min-width:768px) {
        .modern-card .grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
    }

    .modern-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
    }

    /* =======================
       KART & CARD YAPILARI
    ======================= */
    .card {
        border-radius: 12px;
        padding: 18px;
        box-shadow: 0 2px 6px var(--shadow-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
    }

    .card:hover {
        transform: translateY(-3px);
    }

    .card-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--primary);
    }

    .card-content {
        font-size: 14px;
        color: var(--text);
    }

    .modern-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: 0 4px 16px var(--shadow-color);
        animation: fadeIn 0.4s ease-out;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--border);
    }

    /* =======================
       ÜYE KART (UYE-WRAPPER)
    ======================= */
    .uye-wrapper {
        max-width: 960px;
        margin: 0 auto;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        background: var(--bg);
    }

    @media (min-width: 768px) {
        .uye-wrapper {
            flex-direction: row;
        }
    }

    .uye-kart {
        flex: 1;
        background: var(--card);
        border-left: 5px solid var(--primary);
        border-radius: 10px;
        padding: 20px;
        color: var(--text);
    }

    .uye-kart h3 {
        margin-top: 0;
        font-size: 18px;
        color: var(--primary);
    }

    /* =======================
       HEADER ALANI
    ======================= */
    .header-box {
        background: linear-gradient(135deg, #6b8e23, #556b2f);
        color: white;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .header-title {
        font-size: 20px;
        font-weight: bold;
    }

    .header-sub {
        font-size: 13px;
        opacity: 0.9;
    }

    .page-header {
        background: var(--card);
        border-left: 6px solid var(--primary);
        border-radius: 16px;
        padding: 24px 28px;
        margin-bottom: 24px;
        box-shadow: 0 8px 20px var(--shadow-color);
    }

    .page-title {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 8px;
    }

    .page-title-main {
        font-size: 26px;
        font-weight: 600;
        color: var(--primary);
    }

    /* =======================
       FORM ELEMANLARI
    ======================= */
    .form-alan {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-alan input[type=text],
    .form-alan input[type=password],
    .form-alan input[type=email] {
        width: 100%;
        padding: 11px;
        font-size: 15px;
        border-radius: 6px;
        border: 1px solid var(--input-border);
        background: var(--input-bg);
        color: var(--text);
    }

    .form-alan input::placeholder {
        color: var(--muted);
    }

    .form-alan input[type=submit],
    .form-alan button {
        padding: 12px;
        font-size: 15px;
        border-radius: 6px;
        border: none;
        background: var(--btn);
        color: #fff;
        cursor: pointer;
    }

    .form-alan input[type=submit]:hover {
        background: var(--btn-hover);
    }

    .modern-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .modern-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 20px;
    }
}

.modern-form-grid > .form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.modern-form-grid .modern-input,
.modern-form-grid .modern-dropdown,
.modern-form-grid .password-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.modern-form-grid > .form-group.form-span-2 {
    grid-column: 1 / -1;
}

    .form-label {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--text-secondary);
        font-weight: 500;
        font-size: 14px;
    }

    /* ----- FORM GRID YAPILARI ----- */
    .form-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 15px;
    }

    .panel-container .form-group {
        flex: 1;
        min-width: 250px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-group label {
        font-weight: 600;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .filter-group label {
        font-weight: 600;
        color: var(--primary);
        font-size: 14px;
    }

    /* ----- PANEL CONTAINER (PanelDenizci & PanelFirma için) ----- */
    .panel-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
    }

    .modern-input {
        padding: 12px 15px;
        background: var(--input-bg);
        border: 2px solid var(--input-border);
        border-radius: 14px;
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        color: var(--text);
        font-size: 15px;
        width: 100%;
        transition: all 0.3s ease;
    }

    /* Password input için özel padding */
    input[type="password"].modern-input {
        padding: 12px 45px 12px 15px;
    }

    .modern-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.1);
    }

    .field-note {
        display: block;
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 4px;
        font-style: italic;
    }

    /* =======================
       RADIO & CHECKBOX
    ======================= */
    .checkbox-satir {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
    }

    .checkbox-satir input[type=checkbox] {
        width: 18px;
        height: 18px;
    }

    .modern-radio-group {
        display: flex;
        gap: 30px !important;
        flex-direction: column;
        align-items: flex-start;
        background: var(--bg-sidebar);
        padding: 12px 24px;
        border-radius: 50px;
        margin: 8px 0;
    }

    .modern-radio-group input[type="radio"] {
        margin-right: 8px;
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
    }

    .modern-radio-group label {
        margin-right: 20px;
        cursor: pointer;
        font-weight: 500;
        color: var(--text);
    }

    .modern-radio {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        cursor: pointer;
        font-weight: 500;
        text-align: center;
    }

    .modern-radio input[type="radio"] {
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
    }

    .modern-checkbox {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        background: var(--bg-sidebar);
        padding: 16px 20px;
        border-radius: 50px;
        margin: 16px 0;
        cursor: pointer;
    }

    .modern-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        accent-color: var(--primary);
    }

    .radio-list {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        border: none;
        background: transparent;
        padding: 0;
    }

    .radio-list input[type="radio"] {
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
        margin-right: 6px;
        vertical-align: middle;
    }

    .radio-list label {
        color: var(--text);
        font-weight: 500;
        cursor: pointer;
        vertical-align: middle;
    }

    /* =======================
       BUTONLAR
    ======================= */
    .asp-linkbutton {
        display: inline-block;
        padding: 8px 15px;
        margin: 0 5px;
        text-decoration: none;
        color: #333;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .asp-linkbutton:hover {
        background-color: #007bff;
        color: white;
        transform: translateY(-2px);
    }

    .link-btn {
        display: inline-block;
        margin-top: 10px;
        text-decoration: none;
        padding: 8px 15px;
        background: var(--primary);
        color: white !important;
        border-radius: 6px;
        transition: all 0.3s ease;
        font-size: 13px;
    }

    .page-link {
        background: var(--primary);
        color: white;
        padding: 8px 16px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .page-link:hover {
        background: var(--btn-hover);
        color: white;
    }

    .modern-button {
        background: var(--btn);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        margin-top: 10px;
    }

    .modern-button:hover {
        background: var(--btn-hover);
        transform: translateY(-2px);
    }

    .btn-small {
        padding: 4px 8px !important;
        font-size: 12px !important;
        margin: 2px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .btn-small:hover {
        background: var(--btn-hover);
    }

    /* =======================
       DROPDOWN
    ======================= */
    .modern-dropdown {
        color: #1a3a4f;
        padding: 8px 12px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        background: #f8fafc;
        font-size: 13px;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s;
    }

    .modern-dropdown:hover {
        border-color: #cbd5e1;
    }

    body.dark .modern-dropdown {
        background: #2d3e4e;
        border-color: #3e5568;
        color: #e2e8f0;
    }

    .modern-dropdown:hover {
        border-color: var(--btn-hover);
    }

    .modern-dropdown:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.1);
    }

    .modern-dropdown option {
        background-color: var(--card);
        color: var(--text);
        padding: 12px;
    }

    /* =======================
       VALIDATOR & MESAJLAR
    ======================= */
    .validator {
        font-size: 13px;
        color: #ff6b6b;
    }

    .message-container {
        display: block;
        width: 100%;
        clear: both;
        margin-bottom: 15px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .info-message-success,
    .info-message-warning,
    .info-message-error,
    .info-message-info {
        display: block;
        width: 100%;
        clear: both;
        margin: 10px 0 15px 0;
        border-radius: 20px;
        padding: 15px;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        overflow: hidden;
        border: 1px solid transparent;
    }

    .info-message-success {
        background: var(--success-bg);
        border-color: var(--primary);
        color: #155724;
    }

    .info-message-warning {
        background: var(--warning-bg);
        border-color: #b45309;
        color: #856404;
    }

    .info-message-error {
        background: var(--error-bg);
        border-color: #dc2626;
        color: #721c24;
    }

    .info-message-info {
        background: var(--info-bg);
        border-color: #1e4a6b;
        color: #0c5460;
    }

    .message-link {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

    .message-link:hover {
        text-decoration: underline;
    }

    /* =======================
       SÖZLEŞME & GÜVENLİK
    ======================= */
    .sozlesme-kutu {
        margin-top: 15px;
        padding: 12px;
        border: 1px solid var(--input-border);
        border-radius: 8px;
        background: var(--input-bg);
        max-height: 3000px;
        overflow-y: auto;
        font-size: 14px;
        color: var(--muted);
    }

    .sozlesme-icerik {
        max-height: 300px;
        overflow-y: auto;
        padding: 10px;
        border: 1px solid var(--input-border);
        border-radius: 6px;
        background: var(--input-bg);
        font-size: 14px;
    }

    .guvenlik-kart {
        margin-top: 15px;
        padding: 12px;
        background: var(--input-bg);
        border-radius: 8px;
        border: 1px solid var(--input-border);
    }

    .guvenlik-detay summary {
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
    }

    .guvenlik-detay p {
        margin-top: 8px;
        font-size: 14px;
        color: var(--muted);
    }

    /* =======================
       TREEVIEW & PANEL
    ======================= */
    .modern-treeview {
        background: var(--input-bg);
        border: 2px solid var(--border);
        border-radius: 16px;
        padding: 12px;
        margin-bottom: 20px;
    }

    .panel-header {
        background: var(--card);
        border: 1px solid var(--border);
        padding: 12px 15px;
        border-radius: 6px;
        margin-bottom: 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        color: var(--text);
    }

    .panel-content {
        padding: 15px;
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 6px 6px;
        background: var(--card);
    }

    /* =======================
       HELPER & DIVIDER
    ======================= */
    .helper-text {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--bg-sidebar);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    border-left: 4px solid var(--primary);
}

    .helper-link {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        float: right;
    }

    .modern-divider {
        height: 2px;
        background: linear-gradient(to right, transparent, var(--border), transparent);
        margin: 24px 0;
    }

    /* =======================
       TAB & BREADCRUMB
    ======================= */
    .tab-container {
        display: flex;
        border-bottom: 1px solid var(--border);
        margin-bottom: 20px;
        overflow-x: auto;
    }

    .tab-item {
        padding: 10px 20px;
        cursor: pointer;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
    }

    .tab-item.active {
        border-bottom-color: var(--primary);
        color: var(--primary);
        font-weight: 600;
    }

    .breadcrumb {
        font-size: 14px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }

    /* =======================
       LOADING OVERLAY
    ======================= */
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid var(--border);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        background: var(--card);
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* =======================
       ORTAK BİLEŞEN STILLERI
    ======================= */

    /* ----- ACCORDION ----- */
    .accordion-item {
        background: var(--card);
        border-radius: 16px;
        margin-bottom: 20px;
        border: 1px solid var(--border);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        cursor: pointer;
        background: var(--bg);
        transition: all 0.3s ease;
        user-select: none;
    }

    .accordion-header:hover {
        background: var(--hover-bg);
    }

    .accordion-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 18px;
        font-weight: 600;
        color: var(--primary);
    }

    .accordion-icon {
        font-size: 24px;
        transition: transform 0.3s ease;
        color: var(--primary);
    }

    .accordion-item.open .accordion-icon {
        transform: rotate(90deg);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        padding: 0 24px;
    }

    .accordion-item.open .accordion-content {
        max-height: 3000px;
        padding: 20px 24px;
    }

    /* ----- CHECKBOX & RADIO GRUPLARI ----- */
    .checkbox-group {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .checkbox-group .modern-checkbox {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        padding: 6px 12px;
        background: var(--bg);
        border-radius: 25px;
        transition: all 0.2s ease;
    }

    .checkbox-group .modern-checkbox:hover {
        background: var(--hover-bg);
    }

    .checkbox-group .modern-checkbox input {
        margin: 0;
    }

    /* ----- GEMİ TECRÜBESİ GRID ----- */
    .experience-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .exp-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px;
        background: var(--bg);
        border-radius: 12px;
    }

    .exp-item input[type="text"] {
        display: none; /* Başlangıçta gizli */
        flex: 1;
        padding: 5px 10px;
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: var(--input-bg);
        color: var(--text);
        width: 70px;
    }

    .ship-type-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .ship-type-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ship-type-item input[type="text"] {
        width: 60px;
        padding: 6px 8px;
        text-align: center;
    }

    /* ----- DİL GRUPLARI ----- */
    .language-group {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .language-item {
        flex: 1;
        min-width: 180px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .language-item label {
        font-weight: 600;
        font-size: 13px;
    }

    /* ----- STAT KARTLARI ----- */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
        margin-bottom: 30px;
    }

    .stat-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 24px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #eef2f6;
        transition: all 0.3s ease;
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .stat-card h3 {
        font-weight: 600;
        font-size: 18px;
        color: #5a6e7c;
        margin-bottom: 18px;
        letter-spacing: 0.3px;
    }

    .stat-card .stat-value {
        line-height: 1.4;
        color: #1a3a4f;
        margin-bottom: 8px;
    }

    body.dark .stat-card {
        background: #1e2a3a;
        border-color: #2d3e4e;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    body.dark .stat-card h3 {
        color: #8ba0ae;
    }

    body.dark .stat-card .stat-value {
        color: #ffffff;
    }

    /* ----- FİLTRE GRID ----- */
    .filter-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
        margin-bottom: 15px;
    }

    .two-column-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* ----- BUTONLAR ----- */
    .btn-submit {
        background: var(--primary);
        color: white;
        border: none;
        padding: 14px 32px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px;
    }

    .btn-submit:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

    .btn-filter {
        background: var(--primary);
        color: white;
        border: none;
        padding: 12px 32px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-filter:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

    .btn-clear {
        background: var(--border);
        color: var(--text);
        border: none;
        padding: 12px 32px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-clear:hover {
        background: var(--muted);
        color: white;
    }

    .action-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin: 20px 0;
        flex-wrap: wrap;
    }

    /* ----- TABLO STILLERI ----- */
    .grid-container {
        overflow-x: auto;
        margin-top: 15px;
    }

    .grid-table {
        width: 100%;
        border-collapse: collapse;
    }

    .grid-table th {
        background: var(--primary);
        color: white;
        padding: 12px;
        text-align: left;
    }

    .grid-table td {
        padding: 10px;
        border-bottom: 1px solid var(--border);
    }

    .grid-table tr:hover {
        background: var(--hover-bg);
        cursor: pointer;
    }

    /* ----- DETAY KARTI ----- */
    .detail-card {
    padding: 10px;
    margin-top: 20px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    }

    .detail-header {
        background: var(--primary);
        color: white;
        padding: 15px 20px;
        font-weight: 600;
        font-size: 18px;
    }

    .detail-content {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction:column;
    }

    .info-row {
        width: 100%;
        margin-bottom:5px;
        display: flex;
        flex-direction:column;
        padding: 10px 5px;
        border-bottom: 1px solid var(--border);
        font-size: medium;
    }

    .info-label {
        width: auto;
        margin-bottom:5px;
        font-weight: 700;
        color: var(--primary);
        font-size: medium;
    }

    .info-value {
    padding: 10px;
    margin: 10px;
    width: 100%;
    min-width: 0;
    flex: 1;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    }

    .cv-link {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        padding: 8px 16px;
        background: var(--bg-sidebar);
        border-radius: 8px;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .cv-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

    /* ----- BİLGİ KARTLARI ----- */
    .info-card {
        background: var(--info-bg);
        border-left: 4px solid var(--primary);
        border-radius: 12px;
        padding: 15px;
        margin: 15px 0;
    }

    .info-card h2 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--primary);
        border-left: 4px solid var(--primary);
        padding-left: 15px;
    }

    /* ----- WELCOME BANNER ----- */
    .welcome-banner {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 25px;
        text-align: center;
    }

    .welcome-banner h2 {
        margin: 0;
        font-size: 24px;
    }

    .welcome-banner p {
        margin: 8px 0 0;
        opacity: 0.9;
    }

    /* ----- HERO BÖLÜMÜ (Default.aspx için) ----- */
    .hero-section {
        background: linear-gradient(135deg, #0a2e5c 0%, #1a4a7a 50%, #0d3b66 100%);
        border-radius: 24px;
        padding: 60px 40px;
        margin-bottom: 40px;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .hero-section::before {
        content: "⚓";
        position: absolute;
        font-size: 300px;
        opacity: 0.08;
        bottom: -50px;
        right: -50px;
        pointer-events: none;
    }

    .hero-title {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 20px;
        opacity: 0.95;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 36px;
        font-weight: 800;
        color: #ffd700;
    }

    /* ----- FEATURE KARTLARI (Default.aspx için) ----- */
    .features-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-bottom: 50px;
    }

    .feature-card {
        background: var(--card);
        border-radius: 20px;
        padding: 30px;
        margin-bottom: 15px;
        transition: all 0.3s ease;
        border: 1px solid var(--border);
        box-shadow: 0 4px 12px var(--shadow-color);
        position: relative;
        overflow: hidden;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px var(--shadow-color);
        border-color: var(--primary);
    }

    .feature-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .feature-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        font-size: 14px;
        color: var(--text);
    }

    .feature-list li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
    }

    /* ----- CTA BÖLÜMÜ ----- */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        border-radius: 24px;
        padding: 50px;
        text-align: center;
        margin-bottom: 50px;
        color: white;
    }

    .cta-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .cta-text {
        font-size: 18px;
        margin-bottom: 30px;
        opacity: 0.95;
    }

    .cta-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cta-primary {
        background: white;
        color: var(--primary);
        border: none;
        padding: 15px 35px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .btn-cta-primary:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .btn-cta-secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
        padding: 15px 35px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .btn-cta-secondary:hover {
        background: white;
        color: var(--primary);
        transform: scale(1.05);
    }

    /* ----- STATS VE JOINERS GRID (Default.aspx için) ----- */
    .stats-joiners-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .stat-list {
        list-style: none;
        padding: 0;
    }

    .stat-list li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
    }

    .stat-list li:last-child {
        border-bottom: none;
    }

    .stat-icon {
        font-size: 28px;
    }

    .stat-number {
        font-weight: 800;
        color: var(--primary);
        font-size: 20px;
    }

    .joiner-list {
        list-style: none;
        padding: 0;
    }

    .joiner-list li {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
    }

    .joiner-list li:hover {
        transform: translateX(5px);
        color: var(--primary);
    }

    .joiner-avatar {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
    }

    /* ----- KULLANICI TİPİ RADIO ----- */
    .user-type-selector {
        background: var(--card);
        border-radius: 20px;
        padding: 20px;
        text-align: center;
        margin-bottom: 30px;
        border: 1px solid var(--border);
        box-shadow: 0 2px 8px var(--shadow-color);
    }

    .selector-title {
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--text);
        font-weight: 600;
    }

    .user-type-radio {
        display: inline-flex;
        gap: 30px;
        justify-content: center;
        padding: 10px;
        flex-wrap: wrap;
    }

    .user-type-radio input {
        margin-right: 8px;
        accent-color: var(--primary);
        cursor: pointer;
    }

    .user-type-radio input:checked + label {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        box-shadow: 0 2px 8px rgba(107, 142, 35, 0.3);
    }

    .user-type-radio label {
        cursor: pointer;
        padding: 12px 24px;
        border-radius: 50px;
        transition: all 0.3s ease;
        background: var(--bg);
        border: 2px solid var(--border);
        color: var(--text);
        font-weight: 500;
        display: inline-block;
    }

    .user-type-radio label:hover {
        border-color: var(--primary);
        background: var(--hover-bg);
        transform: translateY(-2px);
    }

    /* Gündüz modu için özel iyileştirmeler */    
    body:not(.dark) .user-type-selector {
        background: #ffffff;
        border-color: #e5e7eb;
    }
    body:not(.dark) .selector-title {
        color: #1f2937; 
    }
    body:not(.dark) .user-type-radio label {
        background: #f9fafb;
        border-color: #e5e7eb;
        color: #374151;
    }

    body:not(.dark) .user-type-radio label:hover {
        background: #f3f4f6;
        border-color: #6b8e23;
    }

    body:not(.dark) .user-type-radio input:checked + label {
        background: #6b8e23;
        border-color: #6b8e23;
        color: white;
    }

    /* Koyu mod için */
    body.dark .user-type-selector {
        background: #1f2937;
        border-color: #374151;
    }

    body.dark .selector-title {
        color: #f9fafb;
    }

    body.dark .user-type-radio label {
        background: #374151;
        border-color: #4b5563;
        color: #f3f4f6;
    }

    body.dark .user-type-radio label:hover {
        background: #4b5563;
        border-color: #8bc34a;
    }

    body.dark .user-type-radio input:checked + label {
        background: #8bc34a;
        border-color: #8bc34a;
        color: #1f2937;
    }   

    /* ----- ŞİFRE GÖSTER/GİZLE (Giris.aspx için) ----- */
    .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.password-wrapper .modern-input,
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 10;
}


    .password-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: scale(1.1);
    }

    .eye-icon {
        font-size: 20px;
        opacity: 0.7;
        transition: opacity 0.2s ease;
        font-style: normal;
        cursor: pointer;
    }

    .position-relative {
        position: relative;
    }

    .badge-free { background:#6c757d; color:#fff; padding:4px 10px; border-radius:12px; }
    .badge-start { background:#0d6efd; color:#fff; padding:4px 10px; border-radius:12px; }
    .badge-pro { background:#20c997; color:#fff; padding:4px 10px; border-radius:12px; }
    .badge-premium { background:#fd7e14; color:#fff; padding:4px 10px; border-radius:12px; }
    .badge-business { background:#6610f2; color:#fff; padding:4px 10px; border-radius:12px; }
    .badge-enterprise { background:#dc3545; color:#fff; padding:4px 10px; border-radius:12px; }

    .plan-description-row td{
        padding:15px;
        font-size:13px;
        line-height:1.5;
    }

    /* =======================
       KARIYER BİLGİLERİ MOBİL UYUM
    ======================= */
    .career-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .career-col {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .career-full {
        margin-top: 16px;
        border-top: 1px solid var(--border);
        padding-top: 16px;
    }

    /* Vizeler yan yana */
    .viseler .info-value {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        align-items: center;
    }

    .viseler .modern-checkbox {
        margin: 0;
        padding: 0;
        background: transparent;
    }

    /* =======================
       PANEL SAYFASI MOBİL UYUM (SADECE .panel-container İÇİNDE)
    ======================= */

    /* Grid view mobil uyum */
    .panel-container .grid-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -12px;
        padding: 0 12px;
    }

    .panel-container .grid-table {
        min-width: 700px;
        font-size: 12px;
    }

    .panel-container .grid-table th,
    .panel-container .grid-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }

    /* Panel mobil düzenlemeleri */
    @media (max-width: 768px) {
        .panel-container .checkbox-group {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
    
        .panel-container .checkbox-group .modern-checkbox {
            width: 100%;
        }
    
        .panel-container table.modern-checkbox,
        .panel-container .checkbox-group table {
            width: 100%;
        }
    
        .panel-container .checkbox-group table tr,
        .panel-container .checkbox-group table td {
            display: block;
            width: 100%;
        }
    
        .panel-container .checkbox-group table label {
            display: inline-block;
            margin-left: 5px;
        }
    
        .panel-container .radio-list {
            flex-direction: column;
            gap: 8px;
        }
    
        .panel-container .radio-list input[type="radio"] {
            margin-right: 10px;
        }
    
        .panel-container .two-column-grid {
            grid-template-columns: 1fr !important;
        }
    
        .panel-container .ship-type-grid {
            grid-template-columns: 1fr !important;
        }
    
        .panel-container .language-group {
            flex-direction: column;
        }
    
        .panel-container .filter-grid {
            grid-template-columns: 1fr !important;
            gap: 15px;
        }
    
        .panel-container .filter-group .modern-checkbox[style*="width"] {
            width: auto !important;
        }
    
        .panel-container .action-buttons {
            flex-direction: column;
        }
    
        .panel-container .action-buttons .btn-clear,
        .panel-container .action-buttons .btn-filter,
        .panel-container .action-buttons .modern-button {
            width: 100%;
            text-align: center;
        }
    
        .panel-container .action-buttons .filter-grid {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }
    
        .panel-container .accordion-content {
            padding: 0 12px !important;
        }
    
        .panel-container .accordion-item.open .accordion-content {
            padding: 12px !important;
        }
    
        .panel-container .btn-submit, 
        .panel-container .btn-filter,
        .panel-container .btn-clear,
        .panel-container .modern-button {
            padding: 12px 16px;
            font-size: 14px;
        }
    
        .panel-container {
            overflow-x: hidden !important;
        }
    }

    /* Çok küçük ekranlar için panel içi */
    @media (max-width: 480px) {
        .panel-container .grid-table {
            min-width: 600px;
            font-size: 11px;
        }
    
        .panel-container .grid-table th,
        .panel-container .grid-table td {
            padding: 6px 4px;
        }
    
        .panel-container .accordion-title {
            font-size: 14px;
        }
    
        .panel-container .accordion-header {
            padding: 12px 16px;
        }
    
        .panel-container .modern-dropdown,
        .panel-container .modern-input,
        .panel-container .modern-textbox {
            font-size: 14px;
            padding: 10px 12px;
        }
    
        .panel-container .ship-type-item {
            flex-wrap: wrap;
        }
    
        .panel-container .ship-type-item .modern-textbox {
            width: 100% !important;
            margin-top: 5px;
        }
    }

    /* Kariyer bilgileri mobil - panel içi */
    @media (max-width: 700px) {
        .panel-container .career-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }
    
        .panel-container .info-label {
            width: 130px;
            font-size: 13px;
        }
    
        .panel-container .info-value {
            font-size: 14px;
            word-break: break-word;
        }
    
        .panel-container .viseler .info-value {
            gap: 12px;
        }
    }

    @media (max-width: 480px) {
        .panel-container .info-label {
            width: 110px;
            font-size: 12px;
        }
    
        .panel-container .info-value {
            font-size: 13px;
        }
    
        .panel-container .detail-header {
            font-size: 16px;
            padding: 12px 16px;
        }
    
        .panel-container .detail-content {
            padding: 12px;
        }
    }

    /* ============================================================
       TÜM RESPONSIVE MEDIA QUERIES - EN ALTA TOPLANDI
       ============================================================ */

    /* =======================
       768px ve altı (Tablet & Mobil)
    ======================= */
    @media (max-width: 768px) {
        /* ===== KRİTİK MOBİL TAŞMA FIX ===== */
    body > form {
        max-width: 100% !important;
        overflow-x: clip;
    }

    .main-layout,
    .modern-container,
    .panel-container,
    .container,
    .uye-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
        overflow-x: clip;
    }

    .content-column {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Modern card mobil */
    .modern-card {
        padding: 16px 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 12px;
    }

    /* Modern form grid tek kolon */
    .modern-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Form group taşma fix */
    .form-group {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;        
    }

    /* Modern input taşma fix */
    .modern-input,
    .modern-dropdown,
    .modern-textbox,
    input[type="text"],
    input[type="password"],
    input[type="email"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* iOS zoom engelleme */
    }

  
    .form-group > div[style*="display: flex"] > .modern-dropdown {
        flex: 1 1 30% !important;
        min-width: 0 !important;
    }

    /* Action buttons */
    .action-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .action-buttons .modern-button {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Accordion mobil */
    .accordion-header {
        padding: 12px 14px !important;
    }

    .accordion-content {
        padding: 0 12px !important;
    }

    .accordion-item.open .accordion-content {
        padding: 12px !important;
    }

    .accordion-title {
        font-size: 14px !important;
    }

    .sozlesme-icerik {
        padding: 10px !important;
        font-size: 13px !important;
    }

    /* Modern checkbox mobil */
    .modern-checkbox {
        border-radius: 16px !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Helper text */
    .helper-text {
        padding: 12px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }

    /* Card header */
    .card-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .card-header h2,
    .card-header h3 {
        font-size: 16px !important;
    }

    /* Modern divider */
    .modern-divider {
        margin: 16px 0 !important;
    }

    /* Form label */
    .form-label {
        font-size: 13px !important;
    }

    /* Field note */
    .field-note {
        font-size: 11px !important;
    }
        
        
        /* ----- NAVBAR & MENU (MOBİL) ----- */
        .hamburger {
            display: block;
        }

        #menu {
            display: none !important;
        }

        #menu.show {
            display: block !important;
        }

        .navbar {
            padding: 5px 10px;
        }

        .navbar .menu-group {
            display: block;
            width: 100%;
            text-align: center;
            padding: 5px 0;
        }

        .navbar .asp-linkbutton {
            display: block;
            width: 100%;
            text-align: center;
            padding: 10px 15px;
            margin: 2px 0;
            box-sizing: border-box;
        }


        .navbar .modern-button {
            display: block;
            width: 100%;
            text-align: center;
            padding: 10px 15px;
            margin: 2px 0;
            box-sizing: border-box;
        }

        .navbar .menu-divider {
            display: block;
            width: 100%;
            height: 1px;
            background: rgba(255, 255, 255, 0.2);
            margin: 5px 0;
            border: none;
        }

        .navbar .asp-linkbutton.active {
            padding: 10px 15px;
        }

        /* ----- TOP BAR & NAV-ACTIONS ----- */
        .nav-actions {
            width: 100%;
            justify-content: center;
            padding: 5px 0;
            flex-wrap: wrap;
            gap: 5px;
        }

        .nav-actions a {
            font-size: 12px;
            padding: 4px 10px;
        }

        .top-bar {
            flex-wrap: wrap;
            gap: 5px;
            justify-content: center;
            padding: 8px 12px;
        }

        .logo-area {
            font-size: 18px;
        }

        .logo-img {
            height: 35px;
        }

        /* ----- AD COLUMN ----- */
        .ad-column {
            display: none;
        }

        .content-column {
            width: 100%;
            padding: 10px;
        }

        /* ----- GENEL DÜZENLEMELER ----- */
        .main-layout {
            padding: 10px;
        }

        .main-table {
            display: block;
        }

        .modern-radio-group {
            border-radius: 24px;
            padding: 15px;
            margin: 10px 5px;
            gap: 5px;
        }

        .modern-button {
            max-width: 100%;
            padding: 12px 20px;
            font-size: 14px;
        }

        /* ----- HERO ----- */
        .hero-section {
            padding: 30px 15px;
        }

        .hero-title {
            font-size: 28px;
        }

        .hero-subtitle {
            font-size: 14px;
        }

        .hero-stats {
            gap: 15px;
        }

        .hero-stat-number {
            font-size: 28px;
        }

        /* ----- FEATURES ----- */
        .features-section {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .feature-card {
            padding: 20px;
        }

        .feature-title {
            font-size: 20px;
        }

        /* ----- CTA ----- */
        .cta-section {
            padding: 25px 15px;
        }

        .cta-title {
            font-size: 22px;
        }

        .cta-text {
            font-size: 15px;
        }

        .btn-cta-primary,
        .btn-cta-secondary {
            padding: 12px 25px;
            font-size: 14px;
        }

        /* ----- INFO CARDS ----- */
        .info-card h2 {
            font-size: 18px;
        }

        .info-label {
            width: 120px;
        }

        /* ----- STATS GRID ----- */
        .stats-joiners-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .two-column-grid {
            grid-template-columns: 1fr;
        }

        /* ----- MODERN CONTAINER ----- */
        .modern-container {
            padding: 12px;
        }

        .modern-card {
            padding: 16px;
        }

        /* ----- PANEL CONTAINER ----- */
        .panel-container {
            padding: 10px;
        }
    }

    /* =======================
       480px ve altı (Küçük Telefon)
    ======================= */
    @media (max-width: 480px) {
            /* ===== KÜÇÜK EKRAN TAŞMA FIX ===== */
    body > form {
        max-width: 100% !important;
        overflow-x: clip;
    }

    .main-layout,
    .modern-container,
    .panel-container,
    .uye-wrapper {
        padding-left: 8px !important;
        padding-right: 8px !important;
        max-width: 100% !important;
    }

    .modern-card {
        padding: 12px 10px !important;
        border-radius: 10px !important;
    }

    .card-header h2,
    .card-header h3 {
        font-size: 15px !important;
    }

    .modern-input,
    .modern-dropdown {
        padding: 10px 12px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .password-wrapper input {
        padding-right: 40px !important;
    }

    .password-toggle {
        right: 8px !important;
    }

    .eye-icon {
        font-size: 16px !important;
    }

    .modern-button {
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
    }

    .accordion-header {
        padding: 10px 12px !important;
    }

    .accordion-title {
        font-size: 13px !important;
    }

    .modern-checkbox {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

    .sozlesme-icerik {
        font-size: 12px !important;
        padding: 8px !important;
    }

    .helper-text {
        font-size: 12px !important;
        padding: 10px !important;
    }

    .form-label {
        font-size: 12px !important;
    }

    .field-note {
        font-size: 10px !important;
    }
        
        /* ----- NAVBAR ----- */
        .navbar .asp-linkbutton {
            font-size: 13px;
            padding: 8px 12px;
        }

        .navbar .modern-button {
            font-size: 13px;
            padding: 8px 12px;
        }

        /* ----- HERO ----- */
        .hero-stats {
            flex-direction: column;
            gap: 10px;
        }

        .hero-title {
            font-size: 22px;
        }

        .hero-section {
            padding: 20px 12px;
        }

        .hero-subtitle {
            font-size: 13px;
        }

        /* ----- CTA ----- */
        .cta-buttons {
            flex-direction: column;
            gap: 10px;
        }

        .btn-cta-primary,
        .btn-cta-secondary {
            width: 100%;
            justify-content: center;
            padding: 10px 20px;
            font-size: 13px;
        }

        .two-column-grid {
            grid-template-columns: 1fr;
        }

        .cta-section {
            padding: 20px 12px;
        }

        .cta-title {
            font-size: 20px;
        }

        /* ----- TOP BAR ----- */
        .logo-area {
            font-size: 16px;
        }

        .logo-img {
            height: 30px;
        }

        .nav-actions a {
            font-size: 11px;
            padding: 3px 8px;
        }

        .toggle-dark {
            font-size: 16px;
            padding: 4px 8px;
        }

        /* ----- GENEL ----- */
        .modern-button {
            padding: 10px 16px;
            font-size: 13px;
        }

        .page-title-main {
            font-size: 20px;
        }

        .card {
            padding: 12px;
        }

        .footer {
            font-size: 11px;
            padding: 12px;
        }

        .footer a {
            padding: 3px 6px;
            font-size: 11px;
        }
    }

    /* =======================
       700px ve altı (Kariyer Bilgileri için)
    ======================= */
    @media (max-width: 700px) {
        .panel-container .career-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }
    
        .panel-container .info-label {
            width: 130px;
            font-size: 13px;
        }
    
        .panel-container .info-value {
            font-size: 14px;
            word-break: break-word;
        }
    
        .panel-container .viseler .info-value {
            gap: 12px;
        }
    }

    /* =======================
       1600px ve üstü (Çok Büyük Ekran)
    ======================= */
    @media (min-width: 1600px) {
        .main-layout {
            margin: 0 auto;
        }
    }
    
    .dogum-tarihi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.dogum-tarihi-grid .modern-dropdown {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.paket-ust-kart {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-align: center;
}

.paket-ust-kart .action-buttons {
    margin-top: 0;
}

.sozlesme-kabul {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--bg-sidebar);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 12px;
}

.sozlesme-kabul input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--primary);
}

.sozlesme-kabul label {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    cursor: pointer;
}

.sozlesme-icerik {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .modern-card {
        overflow: visible;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .action-buttons .modern-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}