:root {
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #996515;
    --dark-bg: #0f0f11;
    --dark-surface: #1a1a1d;
    --text-light: #f8f9fa;
    --text-muted: #ffffff;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Typography */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Colors & Buttons */
.text-gold {
    color: var(--gold-primary) !important;
}

.bg-darker {
    background-color: var(--dark-bg) !important;
}

.bg-dark {
    background-color: var(--dark-surface) !important;
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover,
.btn-gold:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-outline-gold {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: #000;
}

.shadow-gold {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* App Container (Mobile First Wrapper) */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--dark-bg);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Screens */
.screen {
    min-height: 100vh;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Navbar */
.custom-navbar {
    background: rgba(26, 26, 29, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: #ebe8e8 !important;
    opacity: 1 !important;
}

::placeholder {
    color: #ebe8e8 !important;
    opacity: 1 !important;
}

.form-control:focus,
.form-select:focus {
    background-color: #2a2a2d;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    color: white;
}

.custom-floating>label {
    color: #ebe8e8 !important;
}

.custom-floating>.form-control {
    background-color: var(--dark-surface);
    border: 1px solid #333;
    color: white;
}

.custom-floating>.form-control:focus~label,
.custom-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--gold-primary);
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px;
    background-color: var(--dark-surface);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.custom-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 17, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Repair Cards */
.repair-card {
    background: var(--dark-surface);
    border: 1px solid #333;
    border-radius: 12px;
    transition: transform 0.2s;
    overflow: hidden;
}

.repair-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 20px;
}

.status-bekliyor {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.status-atolyede {
    background: rgba(13, 202, 240, 0.2);
    color: #0dcaf0;
    border: 1px solid #0dcaf0;
}

.status-tamamlandi {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.status-teslim_edildi {
    background: rgba(25, 135, 84, 0.2);
    color: #198754;
    border: 1px solid #198754;
}

.repair-img-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #444;
}

/* Utilities */
.max-w-sm {
    max-width: 400px;
    margin: 0 auto;
}

/* Print Layout - Tamir Fişi */
@media print {
    body * {
        visibility: hidden;
    }

    #print-section,
    #print-section * {
        visibility: visible;
    }

    #print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: black !important;
        background: white !important;
    }
}

/* Autocomplete Custom UI */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #1a1a1d;
    border: 1px solid #333;
    border-top: none;
    z-index: 1050;
    border-radius: 0 0 0.375rem 0.375rem;
}

.autocomplete-item {
    padding: 10px 15px;
    color: #e0e0e0;
    cursor: pointer;
    border-bottom: 1px solid #2a2a2d;
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #d4af37;
    color: #000;
}

.autocomplete-item:hover .text-gold {
    color: #000 !important;
}

/* Mode Selection */
.mode-select-wrapper {
    min-height: 100vh;
}

.mode-card {
    background: var(--dark-surface);
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Order Status Badges */
.status-siparis_edildi {
    background: rgba(111, 66, 193, 0.2);
    color: #9b59b6;
    border: 1px solid #9b59b6;
}

.status-geldi {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

/* Producer Card */
.producer-card {
    background: var(--dark-surface);
    border: 1px solid #333;
    border-radius: 12px;
    transition: transform 0.2s;
    overflow: hidden;
}

.producer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
}

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

.text-muted.d-block {
    opacity: 0.9;
    font-size: 0.85rem;
}