@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

.gp-submit-form-container {
    font-family: 'Outfit', sans-serif !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    color: #333 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.gp-submit-form-container *,
.gp-submit-form-container *::before,
.gp-submit-form-container *::after {
    box-sizing: border-box !important;
}

.form-title {
    color: #9E0000 !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    width: 100% !important;
}

.gp-form-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.gp-form-group {
    flex: 1 !important;
    min-width: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    margin-bottom: 15px !important;
}

.gp-form-group.full-width {
    flex: 0 0 100% !important;
    width: 100% !important;
}

.gp-form-group label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #444 !important;
    font-size: 0.95rem !important;
    text-align: left !important;
}

.gp-form-group input,
.gp-form-group select,
.gp-form-group textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid #eee !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: #fcfcfc !important;
    height: auto !important;
}

.gp-form-group input:focus,
.gp-form-group select:focus,
.gp-form-group textarea:focus {
    outline: none !important;
    border-color: #BC0F0F !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(188, 15, 15, 0.1) !important;
}

/* Error States */
.gp-form-group.has-error input,
.gp-form-group.has-error select {
    border-color: #ff4d4d !important;
}

.error-msg {
    color: #ff4d4d !important;
    font-size: 0.8rem !important;
    height: 16px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
    display: block !important;
}

/* File Upload Specialist Styles */
.file-upload-wrapper {
    position: relative !important;
    height: 100px !important;
    width: 100% !important;
}

.file-upload-wrapper input[type="file"] {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

.file-custom-ui {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 2px dashed #ccc !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fafafa !important;
    transition: all 0.3s !important;
}

.file-upload-wrapper:hover .file-custom-ui {
    border-color: #BC0F0F !important;
    background: rgba(188, 15, 15, 0.05) !important;
}

.file-custom-ui svg {
    width: 32px !important;
    height: 32px !important;
    fill: #BC0F0F !important;
    margin-bottom: 8px !important;
}

/* Scheduling Section */
.gp-form-section {
    margin: 30px 0 !important;
    padding: 25px !important;
    background: #f9f9f9 !important;
    border-radius: 16px !important;
    width: 100% !important;
}

.gp-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.gp-section-header label {
    font-weight: 700 !important;
    color: #9E0000 !important;
    font-size: 1.1rem !important;
}

.immediate-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    padding: 8px 15px !important;
    border-radius: 20px !important;
    border: 1px solid #ddd !important;
    cursor: pointer !important;
}

.immediate-toggle input {
    width: 18px !important;
    height: 18px !important;
}

.immediate-toggle label {
    margin-bottom: 0 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
}

#scheduling-fields.disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    filter: grayscale(1) !important;
}

/* Submit Button */
.gp-form-submit {
    margin-top: 40px !important;
    text-align: center !important;
    width: 100% !important;
}

#submit-btn {
    background: #BC0F0F !important;
    color: #fff !important;
    border: none !important;
    padding: 18px 60px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 25px rgba(188, 15, 15, 0.3) !important;
}

#submit-btn:hover {
    background: #9E0000 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(188, 15, 15, 0.4) !important;
}

#submit-btn:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

#form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

#form-feedback.success {
    display: block;
    background: #e6fffa;
    color: #006b5f;
    border: 1px solid #b2f5ea;
}

#form-feedback.error {
    display: block;
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

@media (max-width: 600px) {
    .gp-submit-form-container {
        padding: 20px;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .gp-form-row {
        flex-direction: column;
        gap: 0;
    }
}