/* Standalone Premium Styles for Bold Contact Form */

.bold-contact-form-container {
    max-width: 650px;
    margin: 40px auto;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

/* Heading: matches Elementor Heading style */
.bold-contact-form-title {
    font-family: 'Syne', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    color: #000000 !important;
    text-align: left !important;
    line-height: 28.8px !important;
}

.bold-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bold-form-row {
    width: 100%;
}

/* Form input fields */
.bold-contact-form input[type="text"],
.bold-contact-form input[type="email"],
.bold-contact-form input[type="tel"],
.bold-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #c9c1c1;
    border-radius: 0px;
    box-sizing: border-box;
    line-height: 1.4;
    letter-spacing: normal;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Placeholder styling */
.bold-contact-form input::placeholder,
.bold-contact-form textarea::placeholder {
    color: #8c8c8c;
    font-weight: 400;
    opacity: 0.9;
}

/* Focus styles */
.bold-contact-form input:focus,
.bold-contact-form textarea:focus {
    border-color: #7049BA;
    outline: none;
    box-shadow: none;
}

/* Textarea height */
.bold-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Centered Submit Button container */
.bold-form-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* SUBMIT Button matching Elementor styles */
button.bold-contact-submit-btn,
.bold-contact-form-container .bold-contact-submit-btn {
    background-color: transparent !important;
    color: #000000 !important;
    border: 0.8px solid rgb(112, 73, 186) !important;
    margin: 0 !important;
    padding: 0px 16px !important;
    height: 48px !important;
    font-family: 'Outfit', sans-serif !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.bold-contact-submit-btn span {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

/* Hover effects */
button.bold-contact-submit-btn:hover,
.bold-contact-form-container .bold-contact-submit-btn:hover {
    background-color: transparent !important;
    color: #7049BA !important;
    border-color: #7049BA !important;
    box-shadow: none !important;
}

button.bold-contact-submit-btn:active,
.bold-contact-form-container .bold-contact-submit-btn:active {
    transform: scale(0.98) !important;
}

/* Loading State styles */
button.bold-contact-submit-btn.loading,
.bold-contact-form-container .bold-contact-submit-btn.loading {
    pointer-events: none !important;
    background-color: #7049BA !important;
    color: #ffffff !important;
    border-color: #7049BA !important;
}

.bold-contact-submit-btn.loading span {
    opacity: 0;
}

/* Loading spinner */
.bold-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(112, 73, 186, 0.2);
    border-radius: 50%;
    border-top-color: #7049BA;
    animation: bold-spin 0.8s linear infinite;
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -10px;
    z-index: 5;
}

.bold-contact-submit-btn.loading .bold-spinner {
    display: block;
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
}

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

/* Response Message Notification styles */
.bold-form-response-msg {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    animation: boldFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bold-form-response-msg.success {
    background-color: rgba(220, 245, 225, 0.8);
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.bold-form-response-msg.error {
    background-color: rgba(253, 237, 237, 0.8);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

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

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .bold-contact-form-container {
        padding: 0 15px;
    }
    .bold-contact-form-title {
        font-size: 1.85rem;
    }
}
