﻿
.modal-maintenance{
    width:100%;
}
    .modal-maintenance .maintenance-vehicle-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        background: #f6f7f9;
        padding: 15px;
        border-radius: 6px;
        margin-bottom: 20px;
    }
    .modal-maintenance .section-header {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
    }
.modal-maintenance .checkbox-rf {
    display: flex;
    flex-direction: column;
}

.glidego-table-action-button {
    display: flex;
    height: 30px;
    padding: 6px 12px;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    background: #9A3324;
    color: #fff;
}


.modal-maintenance .info-item label {
    font-size: 12px;
    color: #888;
}

.modal-maintenance .info-item p {
    margin: 3px 0 0;
    font-weight: 600;
}

.modal-maintenance .form-group {
    margin-bottom: 20px;
}

    .modal-maintenance .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

.modal-maintenance .section-header {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

    .modal-maintenance .section-header a {
        font-size: 14px;
        text-decoration: none;
        color: #2979ff;
    }

.modal-maintenance .grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.modal-maintenance .card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.modal-maintenance .card-title {
    font-weight: 600;
    margin-bottom: 10px;
}

    .modal-maintenance .card-title span {
        font-size: 12px;
        background: #eee;
        padding: 3px 6px;
        border-radius: 10px;
    }

.modal-maintenance .card label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 6px 0;
}

.modal-maintenance .tag {
    background: #ffe7c1;
    color: #d07a00;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 5px;
}

.modal-maintenance .cost-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 25px;
}

    .modal-maintenance .cost-grid input {
        width: 100%;
        padding: 10px;
        border: 1px solid #E0E0E0;
        border-radius: 6px;
    }

.modal-maintenance .currency {
    font-size: 20px;
    color: #E0E0E0;
}
.modal-maintenance .select-maintenance-wrapper {
    display: flex;
    color: #911;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
    .modal-maintenance .select-maintenance-wrapper label {
        display: flex;
        flex: 1;
        gap: 10px;
        padding: 10px;
        border: 1px solid #E0E0E0;
        border-radius: 10px;
        margin-bottom: 10px;
    }
.modal-maintenance .total {
    margin-top: 15px;
    font-size: 14px;
}

.modal-maintenance .submit-btn {
    width: 100%;
    background: #a43728;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 15px;
    border-radius: 6px;
}
.modal-maintenance .cancel-btn {
    display: flex;
    padding: 14px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid #D0D0D0;
    background: #FFF;
}

.modal-maintenance .submit-btn:hover {
    background: #8b2f23;
}

.modal-maintenance .section-header .btn-sm {
    background: none;
    border: none;
    color: #0d6efd;
}

.disabled-div,
.disabled-div * {
    pointer-events: none;
    opacity: 0.8;
    user-select: none;
}
/* Container for each option */
.select-maintenance-wrapper .radio-option {
    display: block;
    margin-bottom: 15px;
    cursor: pointer;
}
.select-maintenance-wrapper label:has(input:checked) {
    border-radius: 10px;
    border: 2px solid #9A3324;
    background: #FFF5F4;
}
    /* Hide default radio */
.select-maintenance-wrapper .radio-option input {
    display: none;
}

/* Custom radio circle */
.select-maintenance-wrapper .custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    padding-left: 30px;
}

    /* Create custom radio button */
    .select-maintenance-wrapper .custom-radio::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 50%;
        background-color: white;
        transition: all 0.3s ease;
    }

    /* Inner dot */
    .select-maintenance-wrapper .custom-radio::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #8b2f23;
        transition: transform 0.2s ease;
    }

/* When radio is checked - show dot */
.select-maintenance-wrapper .radio-option input:checked + .custom-radio::after {
    transform: translateY(-50%) scale(1);
}

/* When radio is checked - change border color */
.select-maintenance-wrapper .radio-option input:checked + .custom-radio::before {
    border-color: #8b2f23;
}

/* When radio is checked - change text color */
.select-maintenance-wrapper .radio-option input:checked + .custom-radio {
    color: #8b2f23;
    font-weight: 500;
}

/* Different colors for different options */
.select-maintenance-wrapper .radio-option input:checked + .custom-radio {
    color: #8b2f23;
}

    
