/* Main Card Wrapper */
.woo-wa-exact-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 35px auto 40px auto !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Main Card Container */
.woo-wa-exact-card {
    background-color: #dee7e2 !important;
    border-radius: 26px !important;
    padding: 30px 42px !important;
    max-width: 580px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border: none !important;
    box-shadow: none !important;
}

@media screen and (max-width: 600px) {
    .woo-wa-exact-card {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }
}

/* Card Heading */
.woo-wa-exact-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

/* Subtitle / Guarantee */
.woo-wa-exact-subtitle {
    font-size: 13.5px !important;
    color: #555555 !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Inputs Group */
.woo-wa-exact-inputs {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 6px !important;
}

/* Pill Input Fields */
.woo-wa-exact-input {
    width: 100% !important;
    height: 48px !important;
    background-color: #ffffff !important;
    border-radius: 9999px !important;
    border: 1px solid transparent !important;
    padding: 0 24px !important;
    font-size: 14.5px !important;
    color: #333333 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woo-wa-exact-input::placeholder {
    color: #757575 !important;
    font-size: 14px !important;
    opacity: 1 !important;
}

.woo-wa-exact-input:focus {
    border-color: #155632 !important;
    box-shadow: 0 0 0 3px rgba(21, 86, 50, 0.15) !important;
}

/* Dark Green Pill Button */
.woo-wa-exact-btn {
    background-color: #155632 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    border: none !important;
    padding: 10px 48px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 16px auto 10px auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(21, 86, 50, 0.28) !important;
    transition: all 0.2s ease !important;
}

.woo-wa-exact-btn:hover {
    background-color: #0e3d23 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(21, 86, 50, 0.38) !important;
}

/* Shake CTA */
.shake {
    animation: woo-wa-shake 4.5s ease infinite;
}

@keyframes woo-wa-shake {
    0%, 100% { transform: translateX(0); }
    1%, 5% { transform: translateX(-4px); }
    3%, 7% { transform: translateX(4px); }
    9% { transform: translateX(0); }
}

/* Footer Note */
.woo-wa-exact-footer {
    font-size: 13px !important;
    color: #555555 !important;
    margin: 6px 0 0 0 !important;
    text-align: center !important;
}

/* Spinner inside button */
.woo-wa-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: woo-wa-spin 0.7s linear infinite;
    margin-right: 8px;
}

@keyframes woo-wa-spin {
    to { transform: rotate(360deg); }
}

/* Error Box */
.woo-wa-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin: 8px 0;
    text-align: center;
}

/* Success Box */
.woo-wa-success-box {
    text-align: center;
    padding: 15px 10px;
}

.woo-wa-success-icon {
    width: 52px;
    height: 52px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    line-height: 52px;
    margin: 0 auto 12px auto;
}

.woo-wa-success-box h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #0f172a;
}

/* Modal fallback styles if modal mode is enabled */
.woo-wa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-wa-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.woo-wa-modal-dialog {
    position: relative;
    width: 90%;
    max-width: 480px;
    z-index: 10;
}

.woo-wa-modal-content {
    background: #dee7e2;
    border-radius: 26px;
    padding: 30px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
}

.woo-wa-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}
