/* WTP Forms Styling */
.wtp-form-container {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: none;
    box-shadow: none;
    transition: none;
}

.wtp-form-container:hover {
    box-shadow: none;
    transform: none;
}

.wtp-form {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced vertical spacing between inputs */
}

.wtp-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduced label-to-input spacing */
}

.wtp-form-group label {
    font-weight: 700 !important;
    color: #2c3e50;
    font-size: 1.05rem !important;
}

.wtp-form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

/* Base Form Inputs */
.wtp-form-group input[type="text"],
.wtp-form-group input[type="email"],
.wtp-form-group input[type="tel"],
.wtp-form-group input[type="number"],
.wtp-form-group textarea {
    padding: 12px 16px !important;
    font-size: 16px !important;
    color: #334155;
    transition: all 0.25s ease;
    outline: none;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wtp-form-group input[type="number"],
.wtp-form input[type="number"] {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.wtp-form-group textarea {
    resize: vertical;
    min-height: 120px;
    background: #ffffff !important;
}

/* Shorter height style overrides for inputs and buttons */
.wtp-form-size-small .wtp-form-group input[type="text"],
.wtp-form-size-small .wtp-form-group input[type="email"],
.wtp-form-size-small .wtp-form-group input[type="tel"],
.wtp-form-size-small .wtp-form-group input[type="number"],
.wtp-form-size-small .wtp-form-group textarea {
    padding: 8px 12px !important;
}

.wtp-form-size-small .wtp-form-submit {
    padding: 8px 12px !important;
}

/* 1. Solid Style Border Theme */
.wtp-form-style-solid .wtp-form-group input[type="text"],
.wtp-form-style-solid .wtp-form-group input[type="email"],
.wtp-form-style-solid .wtp-form-group input[type="tel"],
.wtp-form-style-solid .wtp-form-group input[type="number"],
.wtp-form-style-solid .wtp-form-group textarea {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
}

.wtp-form-style-solid .wtp-form-group textarea {
    background: #ffffff !important;
}

.wtp-form-style-solid .wtp-form-group input[type="text"]:focus,
.wtp-form-style-solid .wtp-form-group input[type="email"]:focus,
.wtp-form-style-solid .wtp-form-group input[type="tel"]:focus,
.wtp-form-style-solid .wtp-form-group input[type="number"]:focus,
.wtp-form-style-solid .wtp-form-group textarea:focus {
    border-color: #258BE0 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 139, 224, 0.15) !important;
}

.wtp-form-style-solid .wtp-form-submit {
    border: 2px solid #258BE0 !important;
    border-radius: 8px !important;
}

/* 2. Blunt Style Border Theme */
.wtp-form-style-blunt .wtp-form-group input[type="text"],
.wtp-form-style-blunt .wtp-form-group input[type="email"],
.wtp-form-style-blunt .wtp-form-group input[type="tel"],
.wtp-form-style-blunt .wtp-form-group input[type="number"],
.wtp-form-style-blunt .wtp-form-group textarea {
    border: 2px solid #e2e8f0 !important;
    border-radius: 0px !important;
    background: #f8fafc !important;
}

.wtp-form-style-blunt .wtp-form-group textarea {
    background: #ffffff !important;
}

.wtp-form-style-blunt .wtp-form-group input[type="text"]:focus,
.wtp-form-style-blunt .wtp-form-group input[type="email"]:focus,
.wtp-form-style-blunt .wtp-form-group input[type="tel"]:focus,
.wtp-form-style-blunt .wtp-form-group input[type="number"]:focus,
.wtp-form-style-blunt .wtp-form-group textarea:focus {
    border-color: #258BE0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.wtp-form-style-blunt .wtp-form-submit {
    border: 2px solid #258BE0 !important;
    border-radius: 0px !important;
}

/* 3. Bottom Only Style Border Theme */
.wtp-form-style-bottom .wtp-form-group input[type="text"],
.wtp-form-style-bottom .wtp-form-group input[type="email"],
.wtp-form-style-bottom .wtp-form-group input[type="tel"],
.wtp-form-style-bottom .wtp-form-group input[type="number"],
.wtp-form-style-bottom .wtp-form-group textarea {
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 0px !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wtp-form-style-bottom .wtp-form-group input[type="text"]:focus,
.wtp-form-style-bottom .wtp-form-group input[type="email"]:focus,
.wtp-form-style-bottom .wtp-form-group input[type="tel"]:focus,
.wtp-form-style-bottom .wtp-form-group input[type="number"]:focus,
.wtp-form-style-bottom .wtp-form-group textarea:focus {
    border-color: #258BE0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wtp-form-style-bottom .wtp-form-submit {
    border: none !important;
    border-bottom: 2px solid #258BE0 !important;
    background: transparent !important;
    color: #258BE0 !important;
    border-radius: 0px !important;
}

.wtp-form-style-bottom .wtp-form-submit:hover {
    background: #258BE0 !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 2px solid #258BE0 !important;
}

/* Submit Button Theme (Solid color #258BE0 for all forms, no gradients) */
.wtp-form-submit {
    background: #258BE0 !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: 700;
    text-transform: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none !important;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wtp-form-style-blunt .wtp-form-submit,
.wtp-form-style-bottom .wtp-form-submit {
    border-radius: 0px !important;
}

.wtp-form-submit:hover {
    background: #1d72b8 !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.wtp-form-submit:active {
    transform: translateY(1px);
    box-shadow: none !important;
}

.wtp-form-submit:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none;
}

/* CSS Loader Spinner */
.wtp-btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: wtp-spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

/* Premium Notification-Style Banner Responses */
.wtp-form-response {
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: wtp-slide-down 0.3s ease;
}

/* Success Banner */
.wtp-form-response.success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 5px solid #10b981;
}

/* Notice/Notification-Style Error Banner */
.wtp-form-response.error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}

.wtp-form-response.shake {
    animation: wtp-shake 0.4s ease-in-out;
}

.wtp-field-error {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

/* Notice Close Button */
.wtp-response-close {
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    margin-left: 10px;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.wtp-response-close:hover {
    opacity: 1;
}

@keyframes wtp-slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wtp-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
