
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 30%;
    top: 30%;
    width: 50%;
    height: 50%;
    background-color: rgba(0, 0, 0, 0.8);
}
.wheel_assignment_header {
    display: flex;
    justify-content: space-between;
}


button#wheel-assignment-search-btn {
    background-color: #E67E22 !important;
    color: white !important;
    border: none !important;
    padding: 6px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2sease !important;
    margin-top: 1.5rem !important;
}

input#wheel-assignment-search {
    border-radius: 0;
}
.popup-content {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 96%;
    height: 97%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#iframe {
    width: 100%;
    height: 100%;
}


/* wheel assigning menu styles  */

.wheel_assigning_page{

    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;

    /* Header styles */
    /* .text-center {
        text-align: center !important;
    } */
    .wof_close_new{
        display: none;
    }
    h2.text-center.mb-4 {
        color: #8B4513;
        text-align: start !important;
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 30px;
        border-bottom: 3px solid #E67E22;
        padding-bottom: 10px;
    }

    /* Card styles */
    .card {
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
        margin-bottom: 2rem !important;
        padding: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Search container styles */
    .search-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .search-box {
        width: 100% !important;
    }

    .form-label {
        display: block !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #333 !important;
        margin-bottom: 0.75rem !important;
    }

    .form-control {
        width: 100% !important;
        padding: 12px 16px !important;
        border: 1px solid #E5E7EB !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.2s ease !important;
    }

    .form-control:focus {
        outline: none !important;
        border-color: #2389e3 !important;
        box-shadow: 0 0 0 3px rgba(35, 137, 227, 0.1) !important;
    }

    .form-control::placeholder {
        color: #9CA3AF !important;
    }

    /* Results container */
    .results-container {
        margin-top: 0.5rem !important;
        border: 1px solid #E5E7EB !important;
        border-radius: 8px !important;
        max-height: 200px !important;
        overflow-y: auto !important;
        background: white !important;
    }

    /* Button styles */
    .btn-primary {
        background-color: #E67E22 !important;
        color: white !important;
        border: none !important;
        padding: 12px 24px !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        margin-top: 1.5rem !important;
    }

    .btn-primary:hover {
        background-color: #ff5c5c !important;
    }

    .btn-primary:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(255, 113, 113, 0.3) !important;
    }

    /* Assigned wheels section */
    .card h4 {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 1rem !important;
    }

    #assigned-wheels-list {
        color: #6B7280 !important;
        padding: 1rem !important;
        background: #F9FAFB !important;
        border-radius: 8px !important;
        min-height: 60px !important;
    }

    #assigned-wheels-list:empty::before {
        content: 'No wheels assigned yet' !important;
        display: block !important;
        text-align: center !important;
        color: #6B7280 !important;
    }

    /* Media Queries */
    @media (min-width: 768px) {
        .search-container {
            flex-direction: row !important;
            gap: 2rem !important;
        }
        
        .search-box {
            flex: 1 !important;
        }
    }

}
