:root {
    --theme-primary: #0b5ed7;
    --theme-secondary: #f4b400;
    --accent-1: #0d6efd;
    --accent-2: #2aa7ff;
    --bg: #f6f8fb;
    --card: #ffffff;
    --card-bg: #ffffff;
    --border: rgba(15, 23, 42, .10);
    --text-900: #0f172a;
    --text-700: #334155;
    --text-500: #64748b;
    --muted: #94a3b8;
    --ring: rgba(13, 110, 253, .22);
    --shadow: 0 10px 28px rgba(15, 23, 42, .10);
    --shadow-md: 0 16px 42px rgba(15, 23, 42, .14);
    --radius: 18px;
    --radius-xl: 20px;
    --bar: #ffffff;
    --chip: #f1f5f9;
    --chip-hover: #e2e8f0
}

html,
body {
    height: 100%
}

body {
    background: var(--bg);
    color: var(--text-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

a {
    color: var(--theme-primary);
    text-decoration: none
}

a:hover {
    opacity: .92;
    text-decoration: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-900);
    letter-spacing: .2px
}

p,
small {
    color: var(--text-700)
}

.page-wrapper {
    min-height: 100dvh;
    display: flex;
    flex-direction: column
}

main {
    flex: 1 1 auto
}

header.border-bottom.bg-white {
    background: #fff !important;
    border-bottom: 1px solid var(--border) !important
}

header .container {
    padding-top: 14px;
    padding-bottom: 14px
}

header .text-dark {
    color: var(--text-900) !important
}

footer.border-top.bg-white {
    background: #fff !important;
    border-top: 1px solid var(--border) !important
}

footer .text-muted {
    color: var(--text-500) !important
}

.mb-25 {
    margin-bottom: 25px !important
}

.mt-25 {
    margin-top: 25px !important
}

.p-25 {
    padding: 25px !important
}

.rounded-xl {
    border-radius: var(--radius-xl) !important
}

.btn {
    --bs-btn-padding-y: .72rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-weight: 700;
    border-radius: 12px;
    transition: transform .06s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease
}

.btn:active {
    transform: translateY(1px)
}

.btn-primary,
.btn[type="submit"],
button[type="submit"].btn {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 110, 253, .22)
}

.btn-primary:hover,
.btn[type="submit"]:hover {
    filter: brightness(1.04)
}

.btn-primary:focus,
.btn[type="submit"]:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--ring)
}

.btn-outline-primary {
    color: var(--theme-primary);
    border-color: rgba(13, 110, 253, .45);
    background: #fff
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--theme-primary);
    border-color: var(--theme-primary)
}

.input,
.form-control {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-900);
    height: 50px;
    border-radius: 12px;
    padding: 0 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease
}

.input::placeholder,
.form-control::placeholder {
    color: var(--muted)
}

.input:focus,
.form-control:focus {
    border-color: rgba(13, 110, 253, .65);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .16);
    background: #fff;
    color: var(--text-900);
    outline: 0
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #16a34a
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #ef4444
}

.valid-feedback,
.invalid-feedback {
    margin-top: .35rem;
    font-size: .875rem
}

.login-area {
    padding: 60px 0;
    min-height: calc(100dvh - 80px);
    display: grid;
    align-items: center
}

.login-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: 34px 28px
}

.login-top h2 {
    font-weight: 800;
    color: var(--text-900);
    margin-bottom: .35rem
}

.login-top p {
    color: var(--text-500);
    margin: 0
}

.login-form .input {
    width: 100%
}

.login-form .btn {
    height: 50px
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text-700);
    transition: transform .15s ease, box-shadow .2s ease
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-900);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.card-body {
    padding: 20px
}

.card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    box-shadow: var(--shadow)
}

.metric-label {
    font-size: .9rem;
    color: var(--text-500);
    font-weight: 700
}

.metric-value {
    font-size: 1.6rem;
    color: var(--text-900);
    font-weight: 900;
    line-height: 1.1
}

.metric-hint {
    font-size: .85rem;
    color: var(--text-500)
}

.metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(13, 110, 253, .10);
    color: var(--theme-primary);
    display: grid;
    place-items: center
}

.metric-primary {
    border-left: 4px solid var(--theme-primary)
}

.metric-secondary {
    border-left: 4px solid var(--theme-secondary)
}

.table-dark-custom {
    width: 100%;
    color: var(--text-700);
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden
}

.table-dark-custom th {
    color: var(--text-500);
    font-weight: 800;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
    text-align: left;
    background: #f8fafc
}

.table-dark-custom td {
    border-top: 1px solid var(--border);
    padding: 12px 14px;
    vertical-align: middle
}

.table-dark-custom tr:hover td {
    background: #f8fafc
}

.badge {
    font-weight: 700;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .78rem
}

.badge-primary {
    background: rgba(13, 110, 253, .10);
    color: #0b3b8f;
    border: 1px solid rgba(13, 110, 253, .22)
}

.badge-secondary {
    background: rgba(244, 180, 0, .14);
    color: #7a5a00;
    border: 1px solid rgba(244, 180, 0, .28)
}

.badge-success {
    background: rgba(34, 197, 94, .12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, .22)
}

.tg-breadcrumb-area {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 36px 0 28px;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .04)
}

.tg-breadcrumb-content {
    text-align: center;
    color: var(--text-900)
}

.tg-breadcrumb-title {
    color: var(--text-900);
    font-weight: 900;
    margin-bottom: 8px
}

.tg-breadcrumb-list-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.tg-breadcrumb-list-4 li {
    color: var(--text-500);
    font-size: .95rem
}

.tg-breadcrumb-list-4 li a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color .15s ease
}

.tg-breadcrumb-list-4 li a:hover {
    color: #084298
}

.tg-breadcrumb-list-4 i {
    color: var(--text-500);
    font-size: .8rem
}

.owner-dashboard-header .dashboard-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none
}

.owner-dashboard-header .dashboard-nav .nav-item {
    margin: 0
}

.owner-dashboard-header .dashboard-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--text-700);
    border: 1px solid var(--border);
    border-radius: .85rem;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
    padding: .55rem .8rem;
    font-size: .9rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05)
}

.owner-dashboard-header .dashboard-nav .nav-link:hover {
    background: #f8fafc;
    color: var(--text-900);
    border-color: rgba(13, 110, 253, .22)
}

.owner-dashboard-header .dashboard-nav .nav-link.active {
    background: var(--theme-primary);
    color: #fff;
    border-color: var(--theme-primary);
    box-shadow: 0 10px 22px rgba(13, 110, 253, .20)
}

.dashboard-card {
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: box-shadow .2s ease, transform .15s ease;
    overflow: hidden;
    background: var(--card)
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px)
}

.stat-card {
    position: relative;
    padding: 1.4rem 1.6rem;
    color: var(--text-900);
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08)
}

.stat-card__title {
    font-size: 1.02rem;
    font-weight: 800;
    opacity: 1;
    margin: 0 0 .25rem;
    color: var(--text-500)
}

.stat-card__value {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 .5rem;
    line-height: 1.15;
    color: var(--text-900)
}

.stat-card__desc {
    font-size: .95rem;
    opacity: 1;
    color: var(--text-700)
}

.stat-card__icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: .16;
    color: var(--theme-primary)
}

.stat-card--primary {
    border-left: 4px solid var(--theme-primary)
}

.stat-card--warning {
    border-left: 4px solid var(--theme-secondary)
}

.stat-card--info {
    border-left: 4px solid #0ea5e9
}

.stat-card--success {
    border-left: 4px solid #22c55e
}

.chart-card .card-body {
    padding: 1.5rem
}

.res-item {
    background: #fff;
    color: var(--text-900);
    text-decoration: none;
    transition: background .15s, box-shadow .2s, transform .15s;
    border-radius: .9rem;
    padding: .95rem 1.05rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06)
}

.res-item:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10)
}

.res-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    font-size: 1rem;
    background: rgba(13, 110, 253, .10);
    color: var(--theme-primary)
}

.res-avatar.bg-info {
    background: rgba(14, 165, 233, .12);
    color: #0369a1
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow)
}

.review-card:hover {
    transform: none
}

.review-rating {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.2rem
}

.review-rating h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-900)
}

.review-rating .fa-star {
    color: #f4b400
}

.review-rating .total {
    font-size: 1rem;
    color: var(--text-500)
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border)
}

.review-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0
}

.review-item i.fa-user-circle {
    font-size: 2rem;
    color: var(--muted);
    flex-shrink: 0
}

.review-item__meta {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .25rem;
    color: var(--text-900)
}

.review-item__stars {
    display: inline-block;
    color: #f4b400;
    font-size: .9rem;
    margin-bottom: .25rem;
    letter-spacing: .05rem
}

.review-item__text {
    font-size: .95rem;
    color: var(--text-700);
    line-height: 1.45
}

.bg-primary-soft {
    background: rgba(13, 110, 253, .10) !important
}

.bg-secondary-soft {
    background: rgba(244, 180, 0, .14) !important
}

.border-primary {
    border-color: var(--theme-primary) !important
}

.border-secondary {
    border-color: var(--theme-secondary) !important
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--ring);
    border-radius: 10px
}

.hover-rise {
    transition: transform .15s ease, box-shadow .18s ease
}

.hover-rise:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.text-muted-500 {
    color: var(--text-500) !important
}

.text-900 {
    color: var(--text-900) !important
}

.swal2-container .swal2-popup {
    background: #fff !important;
    color: var(--text-900) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important
}

.swal2-title {
    color: var(--text-900) !important
}

.swal2-html-container {
    color: var(--text-700) !important
}

.swal2-input,
.swal2-textarea,
.swal2-select {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    color: var(--text-900) !important;
    border-radius: 10px !important;
    box-shadow: none !important
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: rgba(13, 110, 253, .65) !important;
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .16) !important
}

.swal2-styled.swal2-confirm {
    background: var(--theme-primary) !important;
    color: #fff !important;
    border: 1px solid var(--theme-primary) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 22px rgba(13, 110, 253, .22) !important
}

.swal2-styled.swal2-confirm:hover {
    filter: brightness(1.04)
}

.swal2-styled.swal2-cancel {
    background: #fff !important;
    color: var(--text-900) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .06) !important
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    background-color: #fff !important;
    -webkit-text-fill-color: var(--text-900) !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    caret-color: var(--text-900) !important;
    transition: background-color 5000s ease-in-out 0s
}

input:-moz-autofill {
    background-color: #fff !important;
    color: var(--text-900) !important
}

.calender-active.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.today,
.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.selected {
    background-color: var(--theme-primary) !important;
    color: #fff !important;
    border-color: var(--theme-primary) !important
}

.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day {
    position: relative;
    z-index: 1
}

.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.startRange,
.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.endRange,
.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.selected,
.flatpickr-calendar.open .flatpickr-innerContainer .flatpickr-days .flatpickr-day.today {
    z-index: 2 !important
}

.loginFrmLogo {
    height: 100px
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bar);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06)
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block
}

.brand-name {
    color: var(--text-900);
    font-weight: 900;
    letter-spacing: .2px
}

.nav-scroller {
    overflow: auto hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%
}

.nav-scroller::-webkit-scrollbar {
    display: none
}

.quick-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap
}

.quick-nav li {
    flex: 0 0 auto
}

.chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    height: 48px;
    padding: 0 1.25rem;
    border-radius: 999px;
    background: var(--chip);
    color: var(--text-700);
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .06s;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05)
}

.chip i {
    font-size: 1.15rem
}

.chip:hover {
    background: var(--chip-hover);
    color: var(--text-900);
    border-color: rgba(13, 110, 253, .18)
}

.chip:active {
    transform: translateY(1px)
}

.chip:focus,
.chip:focus-visible {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--ring)
}

.chip.active {
    background: var(--theme-primary);
    color: #fff;
    border-color: var(--theme-primary);
    box-shadow: 0 10px 22px rgba(13, 110, 253, .22)
}

.topbar .quick-nav a,
.topbar .quick-nav a:hover,
.topbar .quick-nav a:focus,
.topbar .quick-nav a:active {
    text-decoration: none
}

@media (max-width:992px) {
    .brand-name {
        display: none
    }

    .quick-nav {
        gap: .7rem
    }
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.chart-card .card-body {
    padding: 18px 18px 14px
}

.chart-card h6 {
    color: var(--text-900);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: .2px;
    margin: 0 0 .75rem
}

.chart-wrap {
    position: relative;
    width: 100%;
    min-height: 260px
}

.chart-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important
}

.chart-toolbar {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem
}

.chart-toolbar .btn {
    height: 36px;
    padding: 0 .75rem;
    font-weight: 800;
    border-radius: 10px
}

.chart-toolbar .btn.active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem
}

.chart-legend .item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .55rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text-700);
    font-size: .86rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05)
}

.chart-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block
}

.card.dashboard-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow)
}

.card.dashboard-card .card-body {
    padding: 18px
}

@media (min-width:992px) {
    .chart-wrap {
        min-height: 320px
    }
}

.modal-backdrop.show {
    background: rgba(15, 23, 42, .55)
}

.modal.fade .modal-dialog {
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease, opacity .18s ease
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1)
}

.modal-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    color: var(--text-900)
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 14px 18px
}

.modal-title {
    font-weight: 900;
    letter-spacing: .2px;
    color: var(--text-900)
}

.btn-close {
    filter: none;
    opacity: .7
}

.btn-close:hover {
    opacity: 1
}

.modal-body {
    padding: 18px
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 12px 18px
}

.btn-light {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-900);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .06)
}

.btn-light:hover {
    background: #f8fafc;
    color: var(--text-900);
    border-color: rgba(13, 110, 253, .18)
}

#calendar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-md)
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 12px;
    color: var(--text-900)
}

.fc .fc-toolbar-title {
    font-weight: 900;
    letter-spacing: .2px
}

.fc .fc-button {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-700);
    border-radius: 10px;
    padding: .35rem .6rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .05)
}

.fc .fc-button:hover {
    background: #f8fafc;
    color: var(--text-900);
    border-color: rgba(13, 110, 253, .18)
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff
}

.fc-theme-standard th {
    background: #f8fafc;
    color: var(--text-700);
    border-color: var(--border);
    font-weight: 900
}

.fc-theme-standard td {
    border-color: var(--border)
}

.fc .fc-daygrid-day {
    background: #ffffff
}

.fc .fc-daygrid-day-number {
    color: var(--text-900);
    font-weight: 800
}

.fc .fc-day-today {
    background: rgba(244, 180, 0, .14) !important
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: .5rem 0
}

.fc .fc-daygrid-bg-harness .fc-bg-event {
    opacity: .28 !important
}

.fc .fc-daygrid-bg-harness .fc-bg-event .fc-event-title {
    display: none
}

.fc .fc-daygrid-event {
    border: 0;
    color: var(--text-900);
    font-weight: 800;
    opacity: .75
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 14px 0 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem
}

.page-head-main {
    min-width: 0
}

.page-title {
    margin: 0;
    color: var(--text-900);
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: .2px;
    line-height: 1.2
}

.page-subtitle {
    margin: .25rem 0 0;
    color: var(--text-500);
    font-size: 1rem
}

.page-head-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

.btn:hover {
    text-decoration: none
}

@media (max-width:768px) {
    .page-head {
        flex-direction: column;
        align-items: flex-start
    }

    .page-title {
        font-size: 1.5rem
    }

    .page-head-actions {
        width: 100%
    }
}




/* Login*/

.login-page {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    justify-content: center;
}

.login-decoration {
    display: none;
    width: 50%;
    position: relative;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 50%, #003d7a 100%);
    overflow: hidden;
}

.login-decoration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.decoration-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #fff;
}

.decoration-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.decoration-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.9);
}

/* Animasyonlu Dalgalar */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    transform-origin: center bottom;
}

.wave-1 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.3)' d='M0,192L60,197.3C120,203,240,213,360,229.3C480,245,600,267,720,261.3C840,256,960,224,1080,213.3C1200,203,1320,213,1380,218.7L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    animation: wave 18s linear infinite;
    z-index: 3;
    opacity: 0.5;
    bottom: 0;
}

.wave-2 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.2)' d='M0,64L60,80C120,96,240,128,360,128C480,128,600,96,720,106.7C840,117,960,171,1080,181.3C1200,192,1320,160,1380,144L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    animation: wave 22s linear infinite reverse;
    z-index: 2;
    opacity: 0.6;
    bottom: 10px;
}

.wave-3 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,256L60,234.7C120,213,240,171,360,165.3C480,160,600,192,720,197.3C840,203,960,181,1080,181.3C1200,181,1320,203,1380,213.3L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    animation: wave 26s linear infinite;
    z-index: 1;
    opacity: 0.7;
    bottom: 20px;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 20s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: -5s;
    font-size: 3rem;
}

.floating-icon:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: -10s;
    font-size: 2.5rem;
}

.floating-icon:nth-child(4) {
    top: 30%;
    right: 10%;
    animation-delay: -15s;
}

.floating-icon:nth-child(5) {
    top: 70%;
    right: 25%;
    animation-delay: -8s;
    font-size: 1.8rem;
}

.floating-icon:nth-child(6) {
    top: 45%;
    left: 30%;
    animation-delay: -12s;
    font-size: 2.2rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
        opacity: 0.1;
    }

    75% {
        transform: translateY(-25px) rotate(3deg);
        opacity: 0.12;
    }
}

.feature-list {
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.feature-list li i {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.login-form-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}


.login-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 60, 120, 0.15), 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 10;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 204, 0.15));
}

.login-logo h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.login-logo p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}



.input-wrapper {
    position: relative;
}


.input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    z-index: 2;
    pointer-events: none;
}

.input-wrapper input:focus ~ .input-icon {
    color: #0066cc;
}


.input-wrapper input {
    width: 100%;
    height: 54px;
    padding: 0 1rem 0 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.25s ease;
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.input-wrapper input:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.input-wrapper input:focus+i,
.input-wrapper:focus-within i {
    color: #0066cc;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: #64748b;
}



.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    accent-color: #0066cc;
}

.remember-me span {
    font-size: 0.9rem;
    color: #64748b;
}

.forgot-link {
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.submit-btn.loading .btn-text {
    visibility: hidden;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    padding: 0 1rem;
}

/* Alt Linkler */
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.login-footer a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-home:hover {
    color: #0066cc;
    text-decoration: none;
}

.back-home i {
    transition: transform 0.2s ease;
}

.back-home:hover i {
    transform: translateX(-4px);
}

@media (min-width: 992px) {
    .login-decoration {
        display: block;
    }

    .login-form-section {
        width: 50%;
        padding: 3rem;
    }

    .mobile-bg-decoration {
        display: none;
    }

    .login-card {
        max-width: 480px;
        padding: 3.5rem 3rem;
    }
}

@media (min-width: 1200px) {
    .decoration-content {
        padding: 5rem;
    }

    .decoration-content h1 {
        font-size: 3rem;
    }
}

/* Küçük ekranlar için */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem;
        margin-top: 60px;
    }

    .login-logo img {
        height: 60px;
    }

    .login-logo h2 {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8rem;
}

.trust-badge i {
    color: #10b981;
    font-size: 1rem;
}




/* Login Bitiş */


/* Layout */

/* ═══════════════════════════════════════════════════════════════════════════
   BINBIRTEKNE - FİRMA PANELİ SIDEBAR LAYOUT
   Modern, temiz ve profesyonel panel tasarımı
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --header-height: 64px;
    --sidebar-bg: #ffffff;
    --sidebar-border: #e5e7eb;
    --sidebar-hover: #f3f4f6;
    --sidebar-active-bg: #eff6ff;
    --sidebar-active-color: #0066cc;
    --header-bg: #ffffff;
    --content-bg: #f8fafc;
    --footer-height: 56px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PANEL LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.panel-layout {
    display: flex;
    min-height: 100vh;
    background: var(--content-bg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease, width 0.3s ease;
}

/* Sidebar Header */
.sidebar-header {
    height: var(--header-height);
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-900);
}

.sidebar-logo {
    height: 36px;
    width: auto;
}

.sidebar-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-900);
    white-space: nowrap;
}

.sidebar-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--sidebar-hover);
    border-radius: 8px;
    color: var(--text-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: #e5e7eb;
    color: var(--text-900);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.75rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-600);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: var(--sidebar-hover);
    color: var(--text-900);
    text-decoration: none;
}

.sidebar-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-color);
    font-weight: 600;
}

.sidebar-link.active .sidebar-icon {
    color: var(--sidebar-active-color);
}

.sidebar-icon {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    color: var(--text-500);
    transition: color 0.2s ease;
}

.sidebar-link:hover .sidebar-icon {
    color: var(--text-700);
}

.sidebar-text {
    white-space: nowrap;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sidebar-footer .sidebar-link {
    padding: 0.65rem 1rem;
}

.sidebar-footer .sidebar-link.text-danger {
    color: #dc2626;
}

.sidebar-footer .sidebar-link.text-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.sidebar-footer .sidebar-link.text-danger .sidebar-icon {
    color: #dc2626;
}

/* Sidebar Overlay (Mobile) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN WRAPPER
   ═══════════════════════════════════════════════════════════════════════════ */

.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.top-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: var(--header-bg);
    border-bottom: 1px solid var(--sidebar-border);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--sidebar-hover);
    border-radius: 10px;
    color: var(--text-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: #e5e7eb;
    color: var(--text-900);
}

/* Header Search */
.header-search {
    position: relative;
    width: 280px;
}

.header-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-400);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    height: 42px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid var(--sidebar-border);
    border-radius: 10px;
    background: var(--content-bg);
    font-size: 0.9rem;
    color: var(--text-800);
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: var(--text-400);
}

.search-input:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: #fff;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: var(--text-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.header-icon-btn:hover {
    background: var(--sidebar-hover);
    color: var(--text-900);
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-divider {
    width: 1px;
    height: 32px;
    background: var(--sidebar-border);
    margin: 0 0.5rem;
}

/* User Dropdown */
.user-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem 0.4rem 0.4rem;
    border: 1px solid var(--sidebar-border);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown:hover {
    background: var(--sidebar-hover);
    border-color: #d1d5db;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-900);
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-500);
}

.user-chevron {
    font-size: 0.7rem;
    color: var(--text-400);
    margin-left: 0.25rem;
}

/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--sidebar-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-700);
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: var(--sidebar-hover);
    color: var(--text-900);
}

.dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--sidebar-border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */

.main-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--content-bg);
}

/* Page Header */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-900);
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-500);
    margin: 0;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.main-footer {
    height: var(--footer-height);
    padding: 0 1.5rem;
    background: #fff;
    border-top: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-500);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-right a {
    color: var(--text-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--theme-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.grid-col-8 {
    grid-column: span 8;
}

.grid-col-6 {
    grid-column: span 6;
}

.grid-col-4 {
    grid-column: span 4;
}

.grid-col-12 {
    grid-column: span 12;
}

/* Dashboard Card */
.dashboard-card {
    background: #fff;
    border: 1px solid var(--sidebar-border);
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-900);
    margin: 0;
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* Stat Card - Yeni Tasarım */
.stat-card-new {
    background: #fff;
    border: 1px solid var(--sidebar-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.stat-card-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stat-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card-new.stat-primary::before { background: #0066cc; }
.stat-card-new.stat-success::before { background: #10b981; }
.stat-card-new.stat-warning::before { background: #f59e0b; }
.stat-card-new.stat-info::before { background: #06b6d4; }

.stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-primary .stat-card-icon { background: #eff6ff; color: #0066cc; }
.stat-success .stat-card-icon { background: #ecfdf5; color: #10b981; }
.stat-warning .stat-card-icon { background: #fffbeb; color: #f59e0b; }
.stat-info .stat-card-icon { background: #ecfeff; color: #06b6d4; }

.stat-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-500);
    margin-bottom: 0.25rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-900);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-card-desc {
    font-size: 0.85rem;
    color: var(--text-500);
}

.stat-card-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-card-trend.up {
    background: #ecfdf5;
    color: #059669;
}

.stat-card-trend.down {
    background: #fef2f2;
    color: #dc2626;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-col-8,
    .grid-col-6,
    .grid-col-4 {
        grid-column: span 6;
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    .header-search {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        display: flex;
        flex-direction: column;
    }
    
    .grid-col-8,
    .grid-col-6,
    .grid-col-4,
    .grid-col-12 {
        grid-column: span 1;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .top-header {
        padding: 0 1rem;
    }
    
    .page-header-top {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-actions {
        justify-content: flex-start;
    }
    
    .main-footer {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-search {
        display: none !important;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .stat-card-value {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLLBAR (Sidebar için)
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}



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

.fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.05s; }
.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.15s; }
.fade-in-up:nth-child(4) { animation-delay: 0.2s; }

/* Layout */



.form-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.form-section-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.form-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    background: #eff6ff;
    color: var(--primary);
}

.form-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-900);
    margin: 0;
}

.form-section-body {
    padding: 1.25rem;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-700);
    margin-bottom: 0.375rem;
}

.form-control,
.form-select {
    height: 42px;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--text-800);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-400);
}

textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.option-group {
    display: flex;
    gap: 0.5rem;
}

.option-item {
    flex: 1;
}

.option-input {
    display: none;
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-600);
    cursor: pointer;
    transition: all 0.15s;
}

.option-input:checked+.option-label {
    background: #eff6ff;
    border-color: var(--primary);
    color: var(--primary);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-item:hover {
    border-color: #cbd5e1;
}

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.filter-item span {
    font-size: 0.8125rem;
    color: var(--text-700);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
}

.upload-area:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.upload-text {
    font-size: 0.875rem;
    color: var(--text-600);
    margin-bottom: 0.25rem;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-400);
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repeater-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.repeater-item:last-child {
    margin-bottom: 0;
}

.repeater-fields {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.repeater-fields .form-control {
    flex: 1;
    min-width: 140px;
}

.repeater-remove {
    width: 36px;
    height: 36px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    border-radius: 8px;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.repeater-remove:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 0.75rem;
}

.btn-add:hover {
    background: #dbeafe;
}

.time-group {
    display: flex;
    gap: 0.5rem;
}

.time-group .form-control {
    width: 110px;
    flex: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn-submit {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.btn-cancel {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-700);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-cancel:hover {
    background: #f8fafc;
}

@media (max-width: 768px) {
    .option-group {
        flex-direction: column;
    }

    .repeater-item {
        flex-direction: column;
    }

    .repeater-remove {
        align-self: flex-end;
    }

    .time-group {
        width: 100%;
    }

    .time-group .form-control {
        flex: 1;
        width: auto;
    }
}


/* Tekne Listesi */


.boats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.boats-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.boats-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boats-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-900);
}

.boats-stat-label {
    font-size: 0.8125rem;
    color: var(--text-500);
}

.boats-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-search {
    position: relative;
}

.filter-search input {
    width: 240px;
    height: 38px;
    padding: 0 0.875rem 0 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8125rem;
    background: #fff;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-400);
    font-size: 0.875rem;
}

.filter-select {
    height: 38px;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8125rem;
    background: #fff;
    cursor: pointer;
}

/* Boats Grid */
.boats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Boat Card */
.boat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.boat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.boat-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.boat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boat-card-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.boat-card-status.active {
    background: #ecfdf5;
    color: #059669;
}

.boat-card-status.inactive {
    background: #fef2f2;
    color: #dc2626;
}

.boat-card-status.pending {
    background: #fffbeb;
    color: #d97706;
}

.boat-card-actions-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.boat-card-menu-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    color: var(--text-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.boat-card-menu-btn:hover {
    background: #fff;
    color: var(--text-900);
}

.boat-card-body {
    padding: 1rem;
}

.boat-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-900);
    margin: 0 0 0.5rem;
}

.boat-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.boat-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-600);
}

.boat-card-meta-item i {
    color: var(--text-400);
    font-size: 0.75rem;
}

.boat-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.boat-card-price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.boat-card-price-unit {
    font-size: 0.8125rem;
    color: var(--text-500);
}

.boat-card-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.boat-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-600);
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.boat-card-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
    text-decoration: none;
}

.boat-card-btn.danger:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: var(--content-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-400);
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--text-500);
    margin-bottom: 1.5rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.empty-state-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .boats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .boats-grid {
        grid-template-columns: 1fr;
    }
    
    .boats-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .boats-filters {
        flex-wrap: wrap;
    }
    
    .filter-search input {
        width: 100%;
    }
}

/* Tekne Listesi */