/**
 * Vehizo Admin Modal Styles
 *
 * @package Vehizo
 * @version 4.1.3
 */

.vehizo-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehizo-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.vehizo-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.vehizo-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.vehizo-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehizo-modal-close:hover {
    color: #374151;
}

.vehizo-modal-body {
    padding: 0 24px 24px;
}

.vehizo-modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.vehizo-modal-body input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.vehizo-modal-body input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.vehizo-modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 640px) {
    .vehizo-modal-content {
        width: 95%;
        margin: 20px;
    }

    .vehizo-modal-footer {
        flex-direction: column;
    }

    .vehizo-modal-footer .modern-button {
        width: 100%;
        justify-content: center;
    }
}