/* ===== ideatakip İstasyon Yazılımı - Premium UI/UX ===== */

/* ===== GLOBAL RESET & BASE ===== */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(99, 102, 241, 0.2);
    }

    50% {
        border-color: rgba(99, 102, 241, 0.5);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.3s ease-out;
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-border-glow {
    animation: borderGlow 2s ease-in-out infinite;
}

/* ===== STEP INDICATOR ===== */
.step-active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
    transform: scale(1.05);
}

.step-completed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.step-inactive {
    background: #1e293b;
    color: #64748b;
    border: 1px solid #334155;
}

/* ===== CARD HOVER ===== */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.2);
}

/* ===== INPUT STYLES ===== */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    color: #f1f5f9;
    outline: none;
    transition: all 0.25s ease;
    font-size: 0.875rem;
    line-height: 1.25rem;
    min-height: 48px;
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 4px 15px rgba(99, 102, 241, 0.1);
    background-color: #1e293b;
}

input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

input[readonly],
input:disabled {
    background-color: #0f172a;
    color: #94a3b8;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.3);
    font-size: 0.875rem;
    line-height: 1.25rem;
    min-height: 48px;
    letter-spacing: 0.01em;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    box-shadow: 0 12px 35px -5px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #1e293b;
    color: #e2e8f0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid #334155;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.25rem;
    min-height: 48px;
}

.btn-secondary:hover {
    background-color: #334155;
    border-color: #475569;
    transform: translateY(-1px);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.3);
    font-size: 0.875rem;
    line-height: 1.25rem;
    min-height: 48px;
}

.btn-success:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 12px 35px -5px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

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

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.25rem;
    min-height: 48px;
    box-shadow: 0 8px 25px -5px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 12px 35px -5px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

/* ===== BACK BUTTON ===== */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    background-color: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.btn-back:hover {
    color: #f1f5f9;
    background-color: rgba(51, 65, 85, 0.8);
    border-color: #6366f1;
    transform: translateX(-2px);
}

.btn-back i {
    font-size: 0.875rem;
}

/* ===== FUEL TYPE BADGES ===== */
.fuel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.fuel-95 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.fuel-diesel {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.fuel-lpg {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.fuel-ultimate {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ===== SILINDIRIK TANK STYLES ===== */
.tank-container {
    position: relative;
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
    aspect-ratio: 1 / 1.6;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.tank-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tank-fill {
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tank-wave {
    animation: waveMove 3s ease-in-out infinite;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-4px) translateY(-1px);
    }

    50% {
        transform: translateX(0) translateY(0);
    }

    75% {
        transform: translateX(4px) translateY(-1px);
    }
}

.tank-glow {
    animation: tankGlow 2s ease-in-out infinite;
}

@keyframes tankGlow {

    0%,
    100% {
        opacity: 0.25;
    }

    50% {
        opacity: 0.55;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

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

.animate-shimmer {
    animation: shimmer 2.5s ease-in-out infinite;
}

.tank-fill-95_KB_1 {
    fill: #10b981;
}

.tank-fill-95_KB_2 {
    fill: #10b981;
}

.tank-fill-ULTIMATE_D {
    fill: #8b5cf6;
}

.tank-fill-MOTORIN {
    fill: #f59e0b;
}

.tank-fill-LPG {
    fill: #ef4444;
}

.tank-wave-95_KB_1 {
    fill: rgba(16, 185, 129, 0.35);
}

.tank-wave-95_KB_2 {
    fill: rgba(16, 185, 129, 0.35);
}

.tank-wave-ULTIMATE_D {
    fill: rgba(139, 92, 246, 0.35);
}

.tank-wave-MOTORIN {
    fill: rgba(245, 158, 11, 0.35);
}

.tank-wave-LPG {
    fill: rgba(239, 68, 68, 0.35);
}

.tank-glow-95_KB_1 {
    fill: rgba(16, 185, 129, 0.12);
}

.tank-glow-95_KB_2 {
    fill: rgba(16, 185, 129, 0.12);
}

.tank-glow-ULTIMATE_D {
    fill: rgba(139, 92, 246, 0.12);
}

.tank-glow-MOTORIN {
    fill: rgba(245, 158, 11, 0.12);
}

.tank-glow-LPG {
    fill: rgba(239, 68, 68, 0.12);
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: linear-gradient(145deg, #1e293b, #182234);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: #f8fafc;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ===== SUCCESS ANIMATION ===== */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #10b981;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

/* ===== RESPONSIVE TABLE ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(51, 65, 85, 0.3);
}

.table-responsive table {
    width: 100%;
    font-size: 0.875rem;
}

.table-responsive th {
    background-color: #1e293b;
    color: #cbd5e1;
    font-weight: 600;
    padding: 0.85rem 1rem;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid #334155;
}

.table-responsive td {
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    color: #cbd5e1;
}

.table-responsive tr:hover td {
    background-color: rgba(30, 41, 59, 0.6);
}

/* ===== POS PLACEHOLDER ===== */
.pos-placeholder {
    transition: all 0.3s ease;
}

.pos-placeholder:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background-color: rgba(30, 41, 59, 0.8);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-weight: 500;
    transform: translateX(0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 0.35s ease-out;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 90vw;
}

.toast-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.toast-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
}

.toast-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(79, 70, 229, 0.95));
}

.toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

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

/* ===== NAVBAR ===== */
#navbar {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

/* ===== MODAL ===== */
#cariModal>div,
#cariPayModal>div,
#handoverModal>div,
#reportFilterModal>div,
#cariEditModal>div,
#cariDeleteModal>div,
#productDeleteModal>div {
    background: linear-gradient(145deg, #1e293b, #182234);
    border: 1px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
}

/* ===== LOADING OVERLAY ===== */
#loadingOverlay>div {
    background: linear-gradient(145deg, #1e293b, #182234);
    border: 1px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

/* ===== PRINT / PDF STYLES ===== */
@media print {
    body {
        background: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .no-print {
        display: none !important;
    }

    #reportPrintArea {
        background: white !important;
        padding: 10px !important;
    }

    #reportPrintArea .stat-card {
        background: #f3f4f6 !important;
        border: 1px solid #d1d5db !important;
    }

    #reportPrintArea .stat-label {
        color: #6b7280 !important;
    }

    #reportPrintArea .stat-value {
        color: #111827 !important;
    }

    #reportPrintArea .bg-gray-900 {
        background: #f9fafb !important;
        border: 1px solid #e5e7eb !important;
    }

    #reportPrintArea .bg-gray-800 {
        background: #e5e7eb !important;
    }

    #reportPrintArea .text-white {
        color: #111827 !important;
    }

    #reportPrintArea .text-gray-400 {
        color: #6b7280 !important;
    }

    #reportPrintArea .text-gray-500 {
        color: #9ca3af !important;
    }

    #reportPrintArea .text-primary-400 {
        color: #2563eb !important;
    }

    #reportPrintArea .text-emerald-400 {
        color: #059669 !important;
    }

    #reportPrintArea .text-blue-400 {
        color: #2563eb !important;
    }

    #reportPrintArea .text-amber-400 {
        color: #d97706 !important;
    }

    #reportPrintArea .text-purple-400 {
        color: #7c3aed !important;
    }

    #reportPrintArea .border-gray-800 {
        border-color: #d1d5db !important;
    }

    #reportPrintArea .bg-gray-800\/50 {
        background: #e5e7eb !important;
    }

    #reportPrintArea .bg-amber-500\/20 {
        background: #fef3c7 !important;
    }

    #reportPrintArea .bg-purple-500\/20 {
        background: #ede9fe !important;
    }

    #reportPrintArea .bg-emerald-500\/20 {
        background: #d1fae5 !important;
    }

    #reportPrintArea .bg-blue-500\/20 {
        background: #dbeafe !important;
    }

    #reportPrintArea .text-amber-400 {
        color: #92400e !important;
    }

    #reportPrintArea .text-purple-400 {
        color: #6d28d9 !important;
    }

    #reportPrintArea .text-emerald-400 {
        color: #065f46 !important;
    }

    #reportPrintArea .text-blue-400 {
        color: #1e40af !important;
    }

    #reportPrintArea .bg-gray-900\/50 {
        background: #f3f4f6 !important;
    }

    #reportPrintArea .hover\:bg-gray-800\/30:hover {
        background: #e5e7eb !important;
    }

    .charts-row-print {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
        page-break-inside: avoid !important;
    }

    .chart-container-print {
        flex: 1 !important;
        width: 48% !important;
        max-width: 48% !important;
        height: 280px !important;
    }

    canvas {
        max-width: 100% !important;
        max-height: 100% !important;
    }

    #reportDoughnutChart {
        aspect-ratio: 1 / 1 !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    th {
        background: #e5e7eb !important;
        color: #374151 !important;
        font-weight: 600 !important;
    }

    td {
        color: #374151 !important;
        border-color: #d1d5db !important;
    }

    .report-table-section,
    .veresiye-table-section {
        page-break-inside: avoid !important;
    }

    #reportPrintArea .text-center.text-gray-600 {
        color: #9ca3af !important;
        border-color: #d1d5db !important;
    }
}

/* =========================================================================
   LIGHT MODE OVERRIDES FOR POS (MARKET) PAGE
   ========================================================================= */

.pos-light-mode {
    background-color: #f1f5f9 !important; /* bg-slate-100 */
    color: #0f172a !important; /* text-slate-900 */
}

/* Base backgrounds */
.pos-light-mode .bg-\[\#050b14\] {
    background-color: #ffffff !important;
}

/* Secondary backgrounds (like the black/60, black/40 areas) */
.pos-light-mode [class*="bg-black"],
.pos-light-mode [class*="bg-gray-900"],
.pos-light-mode [class*="bg-gray-800"],
.pos-light-mode [class*="bg-gray-700"],
.pos-light-mode [class*="bg-gray-600"] {
    background-color: #f8fafc !important; /* Extremely light gray */
}

/* Texts */
.pos-light-mode .text-white,
.pos-light-mode [class*="text-gray-100"],
.pos-light-mode [class*="text-gray-200"] {
    color: #0f172a !important; 
    font-weight: 700 !important;
}

.pos-light-mode [class*="text-gray-300"],
.pos-light-mode [class*="text-gray-400"],
.pos-light-mode [class*="text-slate-300"],
.pos-light-mode [class*="text-slate-400"] {
    color: #334155 !important; 
    font-weight: 600 !important;
}

.pos-light-mode [class*="text-slate-500"],
.pos-light-mode [class*="text-gray-500"] {
    color: #475569 !important;
    font-weight: 600 !important;
}

/* Highlight Colors for better readability on white - made bold! */
.pos-light-mode [class*="text-emerald"] { color: #059669 !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-blue"] { color: #2563eb !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-indigo"] { color: #4f46e5 !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-purple"] { color: #9333ea !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-amber"] { color: #d97706 !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-red"] { color: #dc2626 !important; font-weight: 800 !important; }
.pos-light-mode [class*="text-primary"] { color: #4f46e5 !important; font-weight: 800 !important; } /* mapped to indigo */

/* Enhance small text readability */
.pos-light-mode .text-\[10px\], 
.pos-light-mode .text-xs,
.pos-light-mode .text-\[9px\] {
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
}

/* Borders */
.pos-light-mode [class*="border-white"],
.pos-light-mode [class*="border-gray-800"],
.pos-light-mode [class*="border-gray-700"] {
    border-color: #cbd5e1 !important; 
}

/* Shadows */
/* Generic rule to clear all complex custom inset/glow shadows and use a clean light shadow */
.pos-light-mode [class*="shadow-[0_0_"] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}
.pos-light-mode [class*="drop-shadow"] {
    filter: none !important;
}

/* Buttons and Inputs */
.pos-light-mode input[class*="bg-black"],
.pos-light-mode input[class*="bg-gray-800"],
.pos-light-mode input[class*="bg-gray-900"],
.pos-light-mode input.bg-transparent,
.pos-light-mode input {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}

.pos-light-mode input::placeholder {
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Gradients */
.pos-light-mode .bg-gradient-to-br,
.pos-light-mode .bg-gradient-to-r,
.pos-light-mode .bg-gradient-to-t,
.pos-light-mode .bg-gradient-to-b {
    background: transparent !important;
}

/* Specific button hovers */
.pos-light-mode button:hover {
    background-color: #f1f5f9 !important;
}
.pos-light-mode button.btn-primary:hover {
    background-color: #3730a3 !important; /* bg-indigo-800 */
    color: white !important;
}
.pos-light-mode button.btn-secondary:hover {
    background-color: #e2e8f0 !important; /* bg-slate-200 */
}

/* Light mode specific toggle button */
.theme-toggle-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.pos-light-mode .theme-toggle-btn {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
