/* ============================================
   AKI Global - Modern Enquiry Form Styles
   ============================================ */

/* ===== MODAL STYLES ===== */
.modern-enquiry-modal {
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #ffffff;
}

.modern-close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modern-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* ===== HEADER STYLES ===== */
.modern-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 24px 24px;
    text-align: center;
    color: white;
}

.modern-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.gradient-title {
    background: linear-gradient(180deg, #8B0000 100%, #FFDB58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.modern-subtitle {
    font-size: 13px;
    margin: 0 0 12px 0;
    opacity: 0.95;
    line-height: 1.4;
}

.modern-form-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: inline-block;
}

/* ===== BODY STYLES ===== */
.modern-modal-body {
    padding: 32px 24px 24px;
}

.modern-contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== FORM GROUP STYLES ===== */
.modern-form-group {
    margin-bottom: 20px;
}


.modern-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.modern-form-row .modern-form-group {
    margin-bottom: 0;
}

/* ===== INPUT STYLES ===== */
.modern-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fc;
    color: #333;
    font-family: inherit;
}

.modern-input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modern-input::placeholder {
    color: #a0aec0;
}

.modern-input.is-invalid {
    border-color: #f56565;
    background: #fff5f5;
}

.modern-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(245, 101, 101, 0.1);
}

.invalid-feedback {
    display: flex;
    align-items: center;
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    border-radius: 6px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TEXTAREA STYLES ===== */
.modern-textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 14px !important;
    line-height: 1.6;
}

/* ===== LABEL STYLES ===== */
.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
}

/* ===== CHECKBOX PILLS ===== */
.modern-checkbox-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-checkbox {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.pill-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-checkbox span {
    display: inline-block;
    padding: 10px 18px;
    background: #f8f9fc;
    border: 2px solid #e8ecf4;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
    user-select: none;
}

.pill-checkbox input[type="checkbox"]:checked + span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pill-checkbox:hover span {
    border-color: #667eea;
    transform: translateY(-1px);
}

/* ===== SUBMIT BUTTON ===== */
.modern-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.modern-submit-btn:active {
    transform: translateY(0);
}

.modern-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== ALERT STYLES ===== */
.modern-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

.modern-alert-success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
    margin-top: 20px;
}

.modern-alert-success svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-alert-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.modern-alert-error svg {
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-alert strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.modern-alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== FOOTER NOTE ===== */
.modern-footer-note {
    text-align: center;
    font-size: 13px;
    color: #718096;
    margin-top: 20px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modern-footer-note svg {
    color: #a0aec0;
    flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .modern-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modern-modal-body {
        padding: 24px 20px 20px;
    }

    .modern-contact-form-wrapper {
        padding: 24px;
    }

    .modern-title {
        font-size: 24px;
    }

    .modern-subtitle {
        font-size: 12px;
    }

    .modern-checkbox-pills {
        flex-direction: column;
    }

    .pill-checkbox span {
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modern-modal-header {
        padding: 24px 16px 20px;
    }

    .modern-title {
        font-size: 20px;
    }

    .modern-subtitle {
        font-size: 11px;
    }

    .modern-input {
        font-size: 14px;
        padding: 12px 14px;
    }

    .modern-submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ===== UTILITY CLASSES ===== */
.mt-2 {
    margin-top: 12px;
}

.mb-0 {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}
