/* ESENEX Paket 14L - Profesyonel UI Revizyonu */

:root {
    --esx-bg: #eef3f9;
    --esx-card: #ffffff;
    --esx-border: #d7e0ed;
    --esx-text: #07162f;
    --esx-muted: #60708a;
    --esx-primary: #2f63e8;
    --esx-primary-dark: #1e40af;
    --esx-green: #16a34a;
    --esx-orange: #f59e0b;
    --esx-red: #dc2626;
    --esx-shadow: 0 18px 45px rgba(15, 35, 65, .09);
}

body {
    background:
        radial-gradient(circle at top left, rgba(47, 99, 232, .10), transparent 26%),
        radial-gradient(circle at top right, rgba(34, 211, 238, .12), transparent 24%),
        var(--esx-bg) !important;
}

.topbar {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.92) !important;
    border-bottom: 1px solid rgba(215,224,237,.95) !important;
}

.logo-box {
    background: linear-gradient(135deg, #2f63e8, #22d3ee) !important;
    box-shadow: 0 14px 30px rgba(47,99,232,.26);
}

.logo-text {
    color: #0ea5e9 !important;
    letter-spacing: -.8px;
}

.menu-area > a,
.dropbtn {
    transition: all .18s ease;
    position: relative;
}

.menu-area > a:hover,
.dropdown:hover .dropbtn {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(47,99,232,.12);
}

.dropdown-content {
    animation: esxMenuFade .14s ease-out;
}

@keyframes esxMenuFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.right-user .badge-blue,
.right-user .badge-green {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.main-container {
    max-width: 1720px;
    margin: 0 auto;
}

.page-header {
    background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.45));
    border: 1px solid rgba(215,224,237,.80);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(15,35,65,.06);
}

.page-header h1,
.page-header h2 {
    letter-spacing: -1.1px;
    color: #07162f;
}

.content-card,
.form-card,
.table-card,
.card,
.stat-card {
    border: 1px solid rgba(215,224,237,.95) !important;
    box-shadow: var(--esx-shadow) !important;
}

.content-card:hover,
.form-card:hover,
.table-card:hover,
.card:hover,
.stat-card:hover {
    box-shadow: 0 22px 55px rgba(15,35,65,.12) !important;
}

.btn {
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    box-shadow: 0 10px 20px rgba(47,99,232,.18);
}

.btn:hover {
    transform: translateY(-1px);
    opacity: .96;
}

.btn-primary { background: linear-gradient(135deg, #2f63e8, #1d4ed8) !important; }
.btn-success { background: linear-gradient(135deg, #16a34a, #15803d) !important; }
.btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: white !important; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; }
.btn-secondary { background: linear-gradient(135deg, #64748b, #475569) !important; }
.btn-info { background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; }

.table {
    overflow: hidden;
    border-radius: 18px;
}

.table thead th {
    background: #f4f7fb !important;
    color: #0f172a;
    font-size: 13px;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.table tbody tr {
    transition: background .14s ease;
}

.table tbody tr:hover {
    background: #f8fbff;
}

input,
select,
textarea,
.form-control,
.form-select {
    transition: border .15s ease, box-shadow .15s ease;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #2f63e8 !important;
    box-shadow: 0 0 0 4px rgba(47,99,232,.12);
}

.esx-page-hero {
    align-items: center;
}

.esx-eyebrow {
    color: #2f63e8;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.esx-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.esx-kpi-grid {
    gap: 20px;
}

.esx-kpi-card {
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 134px;
    position: relative;
    overflow: hidden;
}

.esx-kpi-card:after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 118px;
    height: 118px;
    background: rgba(47,99,232,.08);
    border-radius: 50%;
}

.esx-kpi-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eef4ff;
    font-size: 28px;
}

.esx-kpi-sub {
    margin-top: 6px;
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
}

.esx-kpi-blue .esx-kpi-icon { background: #dbeafe; }
.esx-kpi-green .esx-kpi-icon { background: #dcfce7; }
.esx-kpi-orange .esx-kpi-icon { background: #fef3c7; }
.esx-kpi-purple .esx-kpi-icon { background: #ede9fe; }

.esx-dashboard-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.esx-section-title h2 {
    margin: 0 0 5px 0;
}

.esx-section-title p {
    margin: 0 0 18px 0;
    color: #60708a;
}

.esx-action-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.esx-action-list a {
    display: block;
    padding: 15px 16px;
    border: 1px solid #d7e0ed;
    border-radius: 16px;
    background: #f8fbff;
    font-weight: 900;
    color: #1e293b;
    transition: all .15s ease;
}

.esx-action-list a:hover {
    background: #eef4ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.esx-status-list {
    display: grid;
    gap: 14px;
    color: #1e293b;
    font-weight: 800;
}

@media(max-width: 1100px) {
    .esx-dashboard-columns,
    .esx-action-list {
        grid-template-columns: 1fr;
    }

    .esx-quick-actions {
        justify-content: flex-start;
    }
}



/* ESENEX MEGA PAKET 15-25 - Ticari Stabilizasyon UI */

:root {
    --esx-bg: #eef3f9;
    --esx-card: #ffffff;
    --esx-border: #d7e0ed;
    --esx-text: #07162f;
    --esx-muted: #60708a;
    --esx-primary: #2f63e8;
    --esx-primary-dark: #1e40af;
    --esx-green: #16a34a;
    --esx-orange: #f59e0b;
    --esx-red: #dc2626;
    --esx-shadow: 0 18px 45px rgba(15, 35, 65, .09);
}

body {
    background:
        radial-gradient(circle at top left, rgba(47, 99, 232, .10), transparent 26%),
        radial-gradient(circle at top right, rgba(34, 211, 238, .12), transparent 24%),
        var(--esx-bg) !important;
}

.topbar {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid rgba(215,224,237,.95) !important;
}

.logo-box {
    background: linear-gradient(135deg, #2f63e8, #22d3ee) !important;
    box-shadow: 0 14px 30px rgba(47,99,232,.26);
}

.logo-text {
    color: #0ea5e9 !important;
    letter-spacing: -.8px;
}

.menu-area > a,
.dropbtn {
    transition: all .18s ease;
    position: relative;
}

.menu-area > a:hover,
.dropdown:hover .dropbtn {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(47,99,232,.12);
}

.dropdown-content {
    animation: esxMenuFade .14s ease-out;
}

@keyframes esxMenuFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.right-user .badge-blue,
.right-user .badge-green {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.main-container {
    max-width: 1720px;
    margin: 0 auto;
}

.page-header {
    background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.55));
    border: 1px solid rgba(215,224,237,.80);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(15,35,65,.06);
}

.page-header h1,
.page-header h2 {
    letter-spacing: -1.1px;
    color: #07162f;
}

.content-card,
.form-card,
.table-card,
.card,
.stat-card {
    border: 1px solid rgba(215,224,237,.95) !important;
    box-shadow: var(--esx-shadow) !important;
}

.content-card:hover,
.form-card:hover,
.table-card:hover,
.card:hover,
.stat-card:hover {
    box-shadow: 0 22px 55px rgba(15,35,65,.12) !important;
}

.btn {
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    box-shadow: 0 10px 20px rgba(47,99,232,.18);
}

.btn:hover {
    transform: translateY(-1px);
    opacity: .96;
}

.btn-primary { background: linear-gradient(135deg, #2f63e8, #1d4ed8) !important; }
.btn-success { background: linear-gradient(135deg, #16a34a, #15803d) !important; }
.btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: white !important; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; }
.btn-secondary { background: linear-gradient(135deg, #64748b, #475569) !important; }
.btn-info { background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; }

.table {
    overflow: hidden;
    border-radius: 18px;
}

.table thead th {
    background: #f4f7fb !important;
    color: #0f172a;
    font-size: 13px;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.table tbody tr {
    transition: background .14s ease;
}

.table tbody tr:hover {
    background: #f8fbff;
}

input,
select,
textarea,
.form-control,
.form-select {
    transition: border .15s ease, box-shadow .15s ease;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #2f63e8 !important;
    box-shadow: 0 0 0 4px rgba(47,99,232,.12);
}

.esx-page-hero {
    align-items: center;
}

.esx-eyebrow {
    color: #2f63e8;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.esx-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.esx-kpi-grid {
    gap: 20px;
}

.esx-kpi-card {
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 134px;
    position: relative;
    overflow: hidden;
}

.esx-kpi-card:after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 118px;
    height: 118px;
    background: rgba(47,99,232,.08);
    border-radius: 50%;
}

.esx-kpi-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eef4ff;
    font-size: 28px;
}

.esx-kpi-sub {
    margin-top: 6px;
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
}

.esx-kpi-blue .esx-kpi-icon { background: #dbeafe; }
.esx-kpi-green .esx-kpi-icon { background: #dcfce7; }
.esx-kpi-orange .esx-kpi-icon { background: #fef3c7; }
.esx-kpi-purple .esx-kpi-icon { background: #ede9fe; }

.esx-dashboard-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.esx-section-title h2 {
    margin: 0 0 5px 0;
}

.esx-section-title p {
    margin: 0 0 18px 0;
    color: #60708a;
}

.esx-action-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.esx-action-list a {
    display: block;
    padding: 15px 16px;
    border: 1px solid #d7e0ed;
    border-radius: 16px;
    background: #f8fbff;
    font-weight: 900;
    color: #1e293b;
    transition: all .15s ease;
}

.esx-action-list a:hover {
    background: #eef4ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.esx-status-list {
    display: grid;
    gap: 14px;
    color: #1e293b;
    font-weight: 800;
}

.esx-status-list div {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

@media(max-width: 1100px) {
    .esx-dashboard-columns,
    .esx-action-list {
        grid-template-columns: 1fr;
    }

    .esx-quick-actions {
        justify-content: flex-start;
    }
}
