/* ========== TEMA HEADER/FOOTER TAM GIZLEME ========== */
html body .site-header,
html body .site-footer,
html body #header,
html body #footer,
html body .sidebar,
html body #sidebar,
html body .widget-area,
html body .entry-header,
html body .entry-footer,
html body .post-navigation,
html body #comments,
html body .breadcrumb,
html body .page-title,
html body nav.navigation,
html body .site-branding,
html body .site-title,
html body .site-description,
html body .custom-logo-link,
html body .ast-primary-header-bar,
html body .ast-footer-bar,
html body .elementor-location-header,
html body .elementor-location-footer,
html body .kadence-header,
html body .kadence-footer,
html body .generate-header,
html body .generate-footer,
html body .oceanwp-header,
html body .oceanwp-footer,
html body .neve-header,
html body .neve-footer,
html body .wp-block-site-title,
html body .ast-custom-logo,
html body header[class*="header"]:not(.om-dash-header),
html body footer[class*="footer"]:not(.om-dash-footer) {
    display: none !important;
}

html body #page,
html body #content,
html body .site-content,
html body main,
html body .content-area,
html body article,
html body .entry-content,
html body .wp-block-post-content,
html body .post,
html body .page,
html body .ast-article-single,
html body .kadence-content,
html body .wrap {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    float: none !important;
}

html body {
    padding-top: 0 !important;
}

/* ========== BASE ========== */
.om-fullscreen-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #1e293b;
}

/* ========== GIRIS EKRANI ========== */
.om-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2d5a87 100%);
    padding: 16px;
}

.om-login-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 80px -12px rgba(0,0,0,0.4);
    animation: omFadeIn 0.5s ease;
}

@keyframes omFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.om-login-header {
    text-align: center;
    margin-bottom: 36px;
}

.om-login-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
}

.om-login-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
}

.om-login-header p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
}

.om-form-group {
    margin-bottom: 20px;
}

.om-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.om-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 16px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.om-form-group input:focus {
    outline: none;
    border-color: #2d5a87;
    box-shadow: 0 0 0 4px rgba(45,90,135,0.1);
}

.om-btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.om-btn-login:hover {
    box-shadow: 0 8px 20px rgba(45,90,135,0.3);
}

.om-btn-login:active {
    transform: scale(0.97);
}

.om-login-error {
    margin-top: 16px;
    padding: 14px;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    border: 1px solid #fecaca;
}

/* ========== DASHBOARD HEADER (Gorunur!) ========== */
/* ========== DASHBOARD HEADER ========== */
.om-dash-header {
    background: linear-gradient(135deg, #0f172a, #1e3a5f) !important;
    color: white !important;
    padding: 16px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 60px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    margin: 0 !important;
}

.om-dash-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.om-dash-brand span {
    font-size: 28px !important;
    display: inline-block !important;
    visibility: visible !important;
}

.om-dash-brand h2 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
}

/* ========== NAVIGASYON ========== */
.om-dash-nav {
    display: flex;
    overflow-x: auto;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 99;
}

.om-dash-nav::-webkit-scrollbar {
    display: none;
}

.om-dash-nav a {
    padding: 16px 20px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.om-dash-nav a.active,
.om-dash-nav a:hover {
    color: #1e3a5f;
    border-bottom-color: #2d5a87;
}

/* ========== ICERIK ========== */
.om-dash-content {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 400px;
}

.om-tab-panel {
    display: none;
    animation: omFadeIn 0.3s ease;
}

.om-tab-panel.active {
    display: block;
}

/* ========== ISTATISTIK KARTLARI ========== */
.om-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.om-stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.om-stat-card:hover {
    transform: translateY(-2px);
}

.om-stat-card.blue { border-left: 4px solid #3b82f6; }
.om-stat-card.green { border-left: 4px solid #10b981; }
.om-stat-card.purple { border-left: 4px solid #8b5cf6; }
.om-stat-card.orange { border-left: 4px solid #f59e0b; }

.om-stat-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 14px;
}

.om-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.om-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* ========== BAKIYE KARTI ========== */
.om-bakiye-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.om-bakiye-card.positive {
    border-left: 4px solid #10b981;
    background: linear-gradient(to right, white, #f0fdf4);
}

.om-bakiye-card.negative {
    border-left: 4px solid #ef4444;
    background: linear-gradient(to right, white, #fef2f2);
}

.om-bakiye-label {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.om-bakiye-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.om-bakiye-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.om-bakiye-card.positive .om-bakiye-badge {
    background: #d1fae5;
    color: #065f46;
}

.om-bakiye-card.negative .om-bakiye-badge {
    background: #fee2e2;
    color: #991b1b;
}

/* ========== TABLO & LISTE ========== */
.om-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.om-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}

.om-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.om-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.om-table th {
    text-align: left;
    padding: 12px;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

.om-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.om-text-right {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.om-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.om-badge.onayli { background: #d1fae5; color: #065f46; }
.om-badge.taslak { background: #fef3c7; color: #92400e; }
.om-badge.iptal { background: #fee2e2; color: #991b1b; }

.om-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.om-cari-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.om-cari-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.om-cari-info strong {
    color: #0f172a;
    font-size: 15px;
}

.om-cari-info span {
    color: #64748b;
    font-size: 13px;
}

.om-cari-bakiye {
    font-weight: 700;
    font-size: 15px;
}

.om-cari-bakiye.pos { color: #059669; }
.om-cari-bakiye.neg { color: #dc2626; }

.om-empty {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    font-size: 14px;
}

/* ========== YUKLENIYOR ========== */
.om-loading {
    text-align: center;
    padding: 60px;
    color: #64748b;
}

/* ========== MOBIL ========== */
@media (max-width: 640px) {
    .om-login-box {
        padding: 32px 24px;
        border-radius: 20px;
    }
    .om-login-header h2 { font-size: 24px; }
    .om-dash-header { padding: 14px 16px; min-height: 56px; }
    .om-dash-brand h2 { font-size: 16px; }
    .om-dash-brand span { font-size: 22px; }
    .om-btn-logout { padding: 8px 14px; font-size: 13px; }
    .om-dash-nav { padding: 0 12px; }
    .om-dash-nav a { padding: 14px 14px; font-size: 13px; }
    .om-dash-content { padding: 16px; }
    .om-stats-grid {
        grid-template-columns: 50% 50%;
        gap: 12px;
    }
    .om-stat-card { padding: 16px; }
    .om-stat-icon { font-size: 24px; width: 44px; height: 44px; }
    .om-stat-number { font-size: 18px; }
    .om-bakiye-value { font-size: 22px; }
    .om-section { padding: 20px 16px; }
    .om-section h3 { font-size: 16px; }
    .om-table { font-size: 13px; }
    .om-table th, .om-table td { padding: 10px 8px; }
}

/* ========== CIKIS BUTONU ========== */
.om-btn-logout,
a.om-btn-logout,
.om-dash-header .om-btn-logout {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999999 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    min-width: 100px !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
}

.om-btn-logout:hover,
a.om-btn-logout:hover {
    background: rgba(255,255,255,0.25) !important;
    color: white !important;
    text-decoration: none !important;
}