/* Premium Styles for Bold Careers Form */

.bold-careers-form-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background-color: #f4f4f4;
    border: 1.5px solid #eae6f7;
    box-sizing: border-box;
}

/* Heading style matching Bold Marketing branding */
.bold-careers-form-title {
    font-family: 'Syne', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    color: #110e20 !important;
    text-align: left !important;
    line-height: 1.2 !important;
    position: relative;
    padding-bottom: 12px;
}

.bold-careers-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 3px;
    background-color: #7049BA;
}

/* Form description paragraph */
.bold-careers-form-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 30px;
}

/* Form rows layout */
.bold-careers-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bold-careers-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bold-careers-row label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 6px;
    text-align: left;
}

.bold-careers-row label span.required {
    color: #e74c3c;
    margin-left: 2px;
}

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

/* Specific placeholder styling */
.bold-careers-form input::placeholder,
.bold-careers-form textarea::placeholder {
    color: #9c97a5;
    font-weight: 400;
    opacity: 0.8;
}

/* Focus styles */
.bold-careers-form input:focus,
.bold-careers-form textarea:focus,
.bold-careers-form select:focus {
    border-color: #7049BA;
    outline: none;
    box-shadow: 0 0 0 1px rgba(112, 73, 186, 0.15);
}

/* Dropdown/Select field styling */
.bold-careers-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 24px;
    padding-right: 40px;
    cursor: pointer;
}

/* File Upload input styling */
.bold-careers-form input[type="file"] {
    background-color: #ffffff;
    border: 1px solid #b3abbc;
    padding: 10px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    border-radius: 0;
    cursor: pointer;
}

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

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

/* SUBMIT Button styling */
button.bold-careers-submit-btn,
.bold-careers-form-container .bold-careers-submit-btn {
    background-color: #eae6f7 !important;
    color: #000000 !important;
    border: 1px solid #7049BA !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    height: 48px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Hover effects */
button.bold-careers-submit-btn:hover,
.bold-careers-form-container .bold-careers-submit-btn:hover {
    background-color: #7049BA !important;
    color: #ffffff !important;
}

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

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

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

/* Loading spinner */
.bold-careers-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;
    left: 50%;
    margin-left: -10px;
    top: 50%;
    margin-top: -10px;
    z-index: 5;
}

.bold-careers-submit-btn.loading .bold-careers-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-careers-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-careers-response-msg.success {
    background-color: rgba(220, 245, 225, 0.8);
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.bold-careers-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-careers-form-container {
        padding: 24px;
        margin: 20px 15px;
    }
    .bold-careers-form-title {
        font-size: 24px !important;
    }
}
