﻿body {
    color: black;    
}

h1, h2, h3, h4, h5, h6, .badge, button {
    color: black;
    font-family: 'Anybody', system-ui, sans-serif;
    text-transform: uppercase;
}

body, label, input, p, span, select, a, i, li {
    color: black;
    font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
}

    body.small, label.small, input.small, p.small, span.small, select.small, a.small, i.small, li.small {
        font-size: 0.85em;
    }

ul {
    padding: 5px;
}
li {
    list-style: none;
    padding: 0 !important;
}

.card-body {
    color: black;
}

.table > :not(caption) > * > *,
.dataTable-table > :not(caption) > * > * {
    color: black;
}

.form-select {
    color: black;
}

.btn-primary {
    border: 2px solid #000;
    color: #000 !important;
    background-color: #EBFF00 !important;
    border-color: black !important;
    border-radius: 8px;
    padding: 16px 30px;
}

    .btn-primary:hover {
        background-color: #C8E800;
        translate: 0 -1px;
    }

    .btn-primary.active {
        background-color: #A8C800;
        scale: 0.98;
    }

    .btn-primary.disabled {
        background-color: #E0E0E0;
        color: #BDBDBD;
    }

    .btn-primary:focus-visible {
        box-shadow: 0 0 0 3px rgba(235,255,0,0.30), 0 0 0 5px #000;
    }


.btn-secondary {
    background-color: #000 !important;
    border: 2px solid #000;
    color: #EBFF00 !important;
    border-radius: 8px;
    padding: 16px 30px;
}

    .btn-secondary:hover {
        background-color: #1a1a1a !important;
        translate: 0 -1px;
    }

.btn-ghost {
    background-color: transparent !important;
    border: 2px solid #000;
    color: #000 !important;
    border-radius: 8px;
    padding: 14px 28px;
}

    .btn-ghost:hover {
        background-color: #EBFF00 !important;
    }

.wizard-previous, .wizard-next, .wizard-finish, .oem-btn, .aftermarket-btn {
    font-weight: bold;
    color: black;
    font-family: 'Anybody', system-ui, sans-serif;
    text-transform: uppercase;
}

.required {
    color: red !important;
}

.light-grey-box {
    background-color: #fafafa !important;
    padding: 0.375rem 0.75rem 0.375rem 0.75rem;
    border-radius: 0.75rem;
}

.highlight-text {
    background-color: #ebff00 !important;
    padding: 0.375rem 0.75rem 0.375rem 0.75rem;
    border-radius: 0.75rem;
}

.smallSquare {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white; /* Square color */
    /*box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);*/ /* Optional shading */
    border-radius: 4px; /* Optional: smooths edges */    
    border: 1px solid #e0e0e0;
}

    .smallSquare.selected {
        background-color: #ebff00; /* Square color */
        border: 2px solid black;
    }

    .smallSquare.unavailable {
        background-color: #f5f5f5; /* Square color */
    }

.btn-outline-warning guarantee {
    color: black;
}

.btn-check.guarantee-radio + .btn.btn-outline-warning {
    background-color: white; /* Light grey background (or your choice) */
    border-color: #e0e0e0; /* Muted grey border */
    color: black;
    border-radius: 0.75rem;
}

.btn-check.guarantee-radio:checked + .btn.btn-outline-warning {
    background-color: #f9ffee; /* Your custom background colour */
    border: 2px solid #ebff00;
    color: black;
    border-radius: 0.75rem;
}

.booking-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 600px;
}

.booking-container-walkin {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Label acts as the clickable card surface */
.booking-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.booking-slot.disabled {
    background-color: #E0E0E0;
    color: #BDBDBD;
}

/* Visually hide the raw radio dot, keeping it accessible to screen readers */
.booking-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Hover style */
.booking-slot:hover {
    background-color: #e1f541;
    color: #000;
}

/* NATIVE RADIO SELECTION: Changes style when internal input is checked */
.booking-radio:checked + .booking-time {
    color: black;
}

.booking-slot:has(.booking-radio:checked) {
    background-color: #ebff00;
    border-color: #333333;
    font-weight: 600;
}

.highlight-border {
    border: 5px solid #ebff00 !important;
}

.icon-column {
    width: 40px;
}

.fa-triangle-exclamation {
    color: var(--bs-warning);
}

/*#paymentModal .form-control {
    border: 1px solid black;
}

    #paymentModal .form-control:focus {
        box-shadow: 0 0 0 .25rem #ebff00;
    }*/

#paymentModal .modal-title {
    color: black;
}

#paymentModal label {
    font-size: small;
}

#paymentModal .modal-header {
    padding-bottom: 0;
    border: 0;
}

#paymentModal .modal-footer {
    padding-top: 0;
    border: 0;
}

.form-control {
    border: 2px solid #0D0D0D;
}

    .form-control:focus {
        border: 1px solid black;
        box-shadow: inset 0 0 0 1px #EBFF00, /* Inner Shadow (1px Solid Yellow) */
        0 0 0 3px rgba(235, 255, 0, 0.40); /* Outer Glow (3px Spread Yellow) */
    }

.form-select {
    border: 2px solid #0D0D0D;
}

    .form-select:focus {
        border: 1px solid black;
        box-shadow: inset 0 0 0 1px #EBFF00, /* Inner Shadow (1px Solid Yellow) */
        0 0 0 3px rgba(235, 255, 0, 0.40); /* Outer Glow (3px Spread Yellow) */
    }

/* Container wrapper to position the icon */
.custom-search-container {
    position: relative;
    width: 100%;
}

/* Styled Input Field */
.custom-input {
    height: 48px;
    padding-left: 42px; /* Leaves room for the Font Awesome icon */
    font-size: 15px;
    /*color: #333333;
    border: 1px solid #1a1a1a;*/ /* Dark, crisp border */
    /*border-radius: 8px;*/ /* Smooth rounded corners */
    /*box-shadow: none;*/
}

    /* Custom Placeholder Color */
    .custom-input::placeholder {
        color: #b5b5b5;
        opacity: 1;
    }

/* Position and Style Font Awesome Icon */
.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #757575; /* Gray icon color */
    font-size: 14px; /* Matches the visual weight in the image */
    pointer-events: none; /* Allows clicking through the icon to focus the input */
}

/* Focus State Styling */
/*.custom-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}*/

.fk-grey-50 {
    background-color: #FAFAFA !important;
}

.fk-grey-100 {
    background-color: #F5F5F5 !important;
}

.fk-grey-200 {
    color: #E0E0E0 !important;
}

.fk-grey-300 {
    color: #BDBDBD !important;
}

.fk-grey-500 {
    color: #9E9E9E !important;
}

.fk-grey-700 {
    color: #757575 !important;
}

.fk-grey-900 {
    color: #212121 !important;
}

.fk-yellow {
    color: #EBFF00;
}

h1 .fk-yellow {
    font-size: inherit;
}

a {
    text-decoration: underline;
}

.form-check-input {
    all: revert;
}

    /*.form-check-input:checked {
        background-color: #EBFF00;
        border-color: transparent;
    }*/

.fk-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.10);    
}

.fk-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    translate: 0 -2px;
}

.fk-card-highlight {
    background-color: #f9ffee !important;
    border: 5px solid #ebff00 !important;
}

.fk-card-selectable {
    cursor: pointer;
}

    .fk-card-selectable:has(input[type="radio"]:checked) {
        border: 3px solid #ebff00;
        background-color: #f9ffee;
        padding: 22px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.20);
    }


.fk-success {
    color: #4CAF50;
}

.fk-success-bg {
    background-color: #E8F5E9;
}

.fk-success span {
    color: #4CAF50;
}

.fk-error {
    color: #F44336;
}

.fk-error span {
    color: #F44336;
}

.fk-error-bg {
    background-color: #FFEBEE;
}

.fk-warning {
    color: #FF9800 !important;
}

.fk-warning-bg {
    background-color: #FFF9E6 !important;
}

.fk-warning span {
    color: #8a4a00 !important;
}

.badge.fk-warning {
    color: #8a4a00 !important;
    background-color: #FFF9E6 !important;
    font-size: 11px !important;
}

.stock-level-badge {
    border: 1px solid black;
}

.stock-level-badge span {
    font-size: 11px !important;
    white-space: normal; /* Allows text to wrap to the next line */
    word-break: break-word; /* Prevents long words from breaking layout */
}

.booking-slot.dp-disabled {
    background-color: #F5F5F5 !important;
    color: #BDBDBD !important;
    cursor: default !important;
}

/* MODEL SELECTION STARTS */

/* Main Box Options List */
.model-options-list {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Rows inside the List Container */
.model-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f3f3;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .model-item input[type="radio"] {
        display: none !important;
    }

    .model-item:last-child {
        border-bottom: none;
    }

    .model-item:hover {
        background-color: #fafafa;
    }

/* Row Internal Structure */
.model-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.device-icon {
    font-size: 16px;
    opacity: 0.7;
}

.model-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.arrow-icon {
    color: #dcdcdc;
    font-size: 20px;
    line-height: 1;
}

/* Active Highlight Row State */
.model-item.is-selected {
    background-color: #fafff0; /* Soft lime-green background */
}

    .model-item.is-selected .model-name {
        font-weight: 700;
    }

/* Yellow Action Pill Badge */
.status-badge {
    background-color: #eaff00;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #000000;
    letter-spacing: 0.3px;
}

.model-item:has(input[type="radio"]:checked) {
    background-color: #f9ffee !important;
}

.model-item:has(input[type="radio"]:checked) .status-badge {
    display: block !important;
}

.model-item:has(input[type="radio"]:checked) .arrow-icon {
    display: none !important;
}

.highlight {
    background-color: #f9ffee !important;
    border: none !important;
}

.help-block {
    color: #F44336 !important;
}

.circle {
    display: inline-block;
    border-radius: 50%;
    border: 1px solid black;
    width: 18px;
    height: 18px;
    padding: 5px;
    color: black;
    text-align: center;
    line-height: 1;
    box-sizing: content-box;
    white-space: nowrap;
}

    .circle:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        padding-top: 100%;
        height: 0;
    }

    .circle span {
        display: inline-block;
        vertical-align: middle;
    }

.header-repair {
    background-color: #9966FF !important;
}

.header-repair span {
    color: black;
    font-family: 'Anybody', system-ui, sans-serif;
}

.header-stats {
    background-color: black;
}

    .header-stats span {
        color: white;
        font-size: 16px;
    }

    .header-stats .stat span {
        color: #EBFF00;
        font-size: 18px;
        font-weight: bold;
    }