.drv_nhauyen_wrapper .drv_nhauyen_driver-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter .drv_nhauyen_row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter input[type="text"],
.drv_nhauyen_wrapper .drv_nhauyen_driver-filter select,
.drv_nhauyen_wrapper .drv_nhauyen_driver-filter button {
    height: 38px;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    padding: 0 10px;
    box-sizing: border-box;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter input[type="text"] {
    flex: 0 0 35%;
    min-width: 150px;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter select {
    flex: 0 0 25%;
    min-width: 120px;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter button {
    flex: 0 0 15%;
    min-width: 80px;
    background: #007bff;
    color: #fff;
    border: none;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter input[type="text"],
.drv_nhauyen_wrapper .drv_nhauyen_driver-filter select {
    border: 1px solid #ced4da;
    background-color: #fff;
    color: #495057;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter input[type="text"]:focus,
.drv_nhauyen_wrapper .drv_nhauyen_driver-filter select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-filter button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    position: relative;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-item h3 {
    margin: 0 0 10px;
    color: #007bff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-description {
    margin: 10px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-size,
.drv_nhauyen_wrapper .drv_nhauyen_driver-date,
.drv_nhauyen_wrapper .drv_nhauyen_driver-downloads {
    color: #666;
    font-size: 14px;
    margin: 8px 0;
}

.drv_nhauyen_wrapper .drv_nhauyen_driver-checkbox {
    position: absolute;
    top: 20px;
    right: 20px;
}

.drv_nhauyen_wrapper .drv_nhauyen_button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-start;
    align-items: center;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-primary,
.drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 40px;
    line-height: 1;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-primary i,
.drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary i {
    margin-right: 8px;
    font-size: 14px;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-primary {
    background: #007bff;
    color: #fff;
    border: none;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-primary:hover,
.drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary:hover {
    transform: scale(1.05);
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-success {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    background: #28a745;
    color: #fff;
    border: none;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-success i {
    margin-right: 8px;
}

.drv_nhauyen_wrapper .drv_nhauyen_btn-success:hover {
    transform: scale(1.05);
}

.drv_nhauyen_wrapper .drv_nhauyen_multi-download-btn {
    margin: 20px auto;
    display: block;
    padding: 12px 30px;
    font-size: 16px;
}

.drv_nhauyen_wrapper button.drv_nhauyen_btn.drv_nhauyen_btn-success.drv_nhauyen_multi-download-btn {
    display: none;
}

/* Định nghĩa cho form-control và form-select */
.drv_nhauyen_wrapper .drv_nhauyen_form-control,
.drv_nhauyen_wrapper .drv_nhauyen_form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Định nghĩa cho w-100 */
.drv_nhauyen_wrapper .drv_nhauyen_w-100 {
    width: 100%;
}

/* Định nghĩa cho col-md-* */
.drv_nhauyen_wrapper .drv_nhauyen_col-md-4 {
    flex: 0 0 35%;
    max-width: 35%;
}
.drv_nhauyen_wrapper .drv_nhauyen_col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
.drv_nhauyen_wrapper .drv_nhauyen_col-md-2 {
    flex: 0 0 15%;
    max-width: 15%;
}

/* Responsive design */
@media (max-width: 768px) {
    .drv_nhauyen_wrapper .drv_nhauyen_driver-item {
        flex: 1 1 100%;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_button-group {
        flex-direction: row;
        gap: 8px;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_btn-primary,
    .drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary {
        min-width: 100px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .drv_nhauyen_wrapper .drv_nhauyen_driver-list {
        padding: 10px;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_driver-item {
        padding: 15px;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_driver-item h3 {
        font-size: 20px;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_button-group {
        flex-direction: column;
        gap: 8px;
    }

    .drv_nhauyen_wrapper .drv_nhauyen_btn-primary,
    .drv_nhauyen_wrapper .drv_nhauyen_btn-outline-secondary {
        width: 100%;
        min-width: unset;
        height: 40px;
    }
}