/* Modal WhatsApp */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.show .modal-container {
    transform: translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-form-group {
    margin-bottom: 15px;
}

.modal-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.modal-input:focus {
    border-color: #25D366;
    outline: none;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.modal-submit-btn:hover {
    background-color: #128C7E;
}

.modal-message {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.modal-message.error {
    background-color: #fee2e2;
    color: #dc2626;
}

.modal-message.success {
    background-color: #dcfce7;
    color: #16a34a;
}
