/* Softymize WooCommerce Styling */
.softymize-checkout-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.softymize-checkout-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.softymize-checkout-icon {
    font-size: 26px;
    background: #dcfce7;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #86efac;
}

.softymize-checkout-text strong {
    font-size: 16px;
    color: #14532d;
    display: block;
    margin-bottom: 2px;
}

.softymize-checkout-text p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}

.softymize-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25) !important;
}

.softymize-cta-btn:hover {
    background-color: #1ea952 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35) !important;
}

.softymize-myaccount-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
}

.softymize-myaccount-divider span {
    background: #fff;
    padding: 0 12px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}

.softymize-myaccount-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    z-index: -1;
}

.softymize-btn-full {
    width: 100%;
    background-color: #25D366 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

/* Modal Overlay */
.softymize-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.softymize-modal {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: softymize-pop 0.25s ease-out;
}

@keyframes softymize-pop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.softymize-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

.softymize-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    margin-bottom: 12px;
}

.softymize-modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    color: #111827;
}

.softymize-modal-header p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #6b7280;
}

.softymize-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 6px;
    transition: border-color 0.2s;
}

.softymize-input-group:focus-within {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.softymize-prefix {
    background: #f3f4f6;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    border-right: 1px solid #d1d5db;
}

.softymize-input-group input {
    border: none !important;
    outline: none !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
    width: 100% !important;
    letter-spacing: 1px;
}

.softymize-otp-wrapper input {
    width: 100% !important;
    font-size: 24px !important;
    text-align: center !important;
    letter-spacing: 8px !important;
    padding: 12px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    margin-top: 8px;
}

.softymize-otp-wrapper input:focus {
    border-color: #25D366 !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15) !important;
}

.softymize-submit-btn {
    width: 100%;
    background-color: #25D366;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 8px;
    margin-top: 18px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.softymize-submit-btn:hover {
    background-color: #1ea952;
}

.softymize-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.softymize-error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 10px;
}

.softymize-resend-wrapper {
    text-align: center;
    margin-top: 14px;
}

.softymize-link-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.softymize-link-btn:disabled {
    color: #9ca3af;
    text-decoration: none;
    cursor: not-allowed;
}

.softymize-link {
    color: #2563eb;
    font-size: 13px;
    text-decoration: none;
}

.softymize-fallback-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.softymize-muted-link {
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s;
}

.softymize-muted-link:hover {
    color: #111827;
    text-decoration: underline;
}
