/*
Theme Name: Bột Giặt Thanh Nhàn
Theme URI: https://botgiatthanhnhan.123websitedev.com/
Description: Giao diện WordPress thiết kế theo yêu cầu cho Bột Giặt Thanh Nhàn, dựa trên thiết kế Figma.
Version: 1.0.0
Author: Antigravity
Author URI: https://gemini.google.com/
Text Domain: botgiatthanhnhan
*/

/* ==========================================================================
   Global Font Override
   ========================================================================== */
html, body, 
body *:not(i):not([class*="fa-"]):not([class*="fa"]):not(.fa):not(.fab):not(.fas):not(.far):not(.dashicons):not(.woocommerce-icon):not([class*="icon-"]):not([class*="tinvwl-"]) {
    font-family: 'Quicksand', system-ui, -apple-system, sans-serif !important;
}

/* ==========================================================================
   Premium Buttons Custom Styling
   ========================================================================== */
.btn-premium-orange {
    background: linear-gradient(135deg, #FF8C00 0%, #FF9F24 100%) !important;
    box-shadow: 0 4px 14px 0 rgba(255, 140, 0, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 60px !important;
    font-size: 17px !important;
}
.btn-premium-orange:hover {
    background: linear-gradient(135deg, #e07a00 0%, #e68a14 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(255, 140, 0, 0.35) !important;
    transform: translateY(-2px) !important;
}
.btn-premium-orange:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-premium-green {
    background: linear-gradient(135deg, #00A859 0%, #00C267 100%) !important;
    box-shadow: 0 4px 14px 0 rgba(0, 168, 89, 0.18) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 60px !important;
    font-size: 17px !important;
}
.btn-premium-green:hover {
    background: linear-gradient(135deg, #009048 0%, #00A859 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(0, 168, 89, 0.32) !important;
    transform: translateY(-2px) !important;
}
.btn-premium-green:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-premium-dark {
    background: linear-gradient(135deg, #1A3020 0%, #25442E 100%) !important;
    box-shadow: 0 4px 14px 0 rgba(26, 48, 32, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 60px !important;
    font-size: 17px !important;
}
.btn-premium-dark:hover {
    background: linear-gradient(135deg, #112015 0%, #1A3020 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(26, 48, 32, 0.28) !important;
    transform: translateY(-2px) !important;
}
.btn-premium-dark:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-premium-outline-green {
    border: 2px solid #00A859 !important;
    color: #00A859 !important;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 60px !important;
    font-size: 17px !important;
}
.btn-premium-outline-green:hover {
    background: rgba(0, 168, 89, 0.05) !important;
    box-shadow: 0 4px 12px 0 rgba(0, 168, 89, 0.08) !important;
    transform: translateY(-2px) !important;
}
.btn-premium-outline-green:active {
    transform: translateY(0) scale(0.97) !important;
}

.btn-premium-outline-orange {
    border: 2px solid #FF8C00 !important;
    color: #FF8C00 !important;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 60px !important;
    font-size: 17px !important;
}
.btn-premium-outline-orange:hover {
    background: rgba(255, 140, 0, 0.05) !important;
    box-shadow: 0 4px 12px 0 rgba(255, 140, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}
.btn-premium-outline-orange:active {
    transform: translateY(0) scale(0.97) !important;
}

/* ==========================================================================
   Quote Request Modal Premium Redesign
   ========================================================================== */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quote-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.quote-modal-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(229, 231, 235, 0.5);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-modal-overlay.active .quote-modal-card {
    transform: scale(1);
}

.quote-modal-content {
    padding: 32px;
}

@media (max-width: 640px) {
    .quote-modal-content {
        padding: 24px 20px;
    }
}

/* Header */
.quote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

.quote-modal-title-wrap {
    display: flex;
    gap: 16px;
    align-items: center;
}

.quote-modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 159, 36, 0.15) 100%);
    color: #FF8C00;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.quote-modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #1A3020;
    margin: 0;
    line-height: 1.2;
}

.quote-modal-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: #6B7280;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.quote-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    background: #F3F4F6;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.quote-modal-close:hover {
    background: #E5E7EB;
    color: #1F2937;
    transform: rotate(90deg);
}

/* Form Styles */
.quote-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-form-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1A3020;
}

.quote-form-label .required-star {
    color: #EF4444;
    margin-left: 2px;
}

.quote-input-wrapper {
    position: relative;
    width: 100%;
}

.quote-input-field {
    width: 100% !important;
    padding: 12px 16px 12px 42px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    color: #1A3020 !important;
    outline: none !important;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease !important;
}

.quote-input-field.textarea {
    resize: none !important;
    height: 80px !important;
}

.quote-input-field:focus {
    border-color: #00A859 !important;
    box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.1) !important;
    background: #FFFFFF !important;
}

.quote-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.quote-input-field.textarea + .quote-input-icon {
    top: 22px;
}

.quote-input-field:focus + .quote-input-icon {
    color: #00A859;
}

.quote-input-field.readonly {
    background: #F9FAFB !important;
    border-color: #E5E7EB !important;
    color: #4B5563 !important;
    font-weight: 700 !important;
    cursor: not-allowed !important;
    padding-left: 42px !important;
}

.quote-input-field.readonly + .quote-input-icon {
    color: #4B5563;
}

/* Submit Button */
.quote-submit-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #FF8C00 0%, #FF9F24 100%) !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700 !important;
    font-size: 15px !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px 0 rgba(255, 140, 0, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 6px;
}

.quote-submit-btn:hover {
    background: linear-gradient(135deg, #e07a00 0%, #e68a14 100%) !important;
    box-shadow: 0 6px 20px 0 rgba(255, 140, 0, 0.4) !important;
    transform: translateY(-1.5px) !important;
}

.quote-submit-btn:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Success State */
.quote-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 10px;
    animation: fadeInModalSuccess 0.4s ease;
}

.quote-success-state.hidden {
    display: none;
}

@keyframes fadeInModalSuccess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-success-icon-wrap {
    width: 72px;
    height: 72px;
    background: #F0F9F4;
    color: #00A859;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 168, 89, 0.1);
    box-shadow: 0 8px 20px rgba(0, 168, 89, 0.1);
}

.quote-success-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #1A3020;
    margin: 0 0 10px 0;
}

.quote-success-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #556B5A;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 380px;
}

.quote-success-btn {
    background: linear-gradient(135deg, #00A859 0%, #00C267 100%) !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 12px 0 rgba(0, 168, 89, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quote-success-btn:hover {
    background: linear-gradient(135deg, #009048 0%, #00A859 100%) !important;
    box-shadow: 0 6px 16px 0 rgba(0, 168, 89, 0.3) !important;
    transform: translateY(-1.5px) !important;
}
