/* /Components/Pages/Submit.razor.rz.scp.css */
/* Form Container */
.form-container[b-74e6v2ae15] {
    max-width: 960px;
    margin: 2.5rem auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    animation: fadeIn-b-74e6v2ae15 0.5s ease-out;
}

/* Form Header */
.form-header[b-74e6v2ae15] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3.5rem 2.5rem;
    text-align: center;
}

    .form-header h1[b-74e6v2ae15] {
        margin: 0 0 1rem 0;
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.2;
    }

.form-subtitle[b-74e6v2ae15] {
    margin: 0;
    font-size: 1.15rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

/* Form Content */
.customer-story-form[b-74e6v2ae15] {
    padding: 3rem 1.5rem;
}

/* Form Sections */
.form-section[b-74e6v2ae15] {
    margin-bottom: 3.5rem;
    padding: 0 0.5rem 2.5rem;
    border-bottom: 2px solid #e8e8e8;
}

    .form-section:last-of-type[b-74e6v2ae15] {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

.section-title[b-74e6v2ae15] {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
}

    .section-title[b-74e6v2ae15]::before {
        content: '';
        width: 4px;
        height: 28px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        margin-right: 14px;
        border-radius: 2px;
    }

/* Form Groups */
.form-group[b-74e6v2ae15] {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

    .form-group:last-child[b-74e6v2ae15] {
        margin-bottom: 0;
    }

.form-row[b-74e6v2ae15] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 600px) {
    .form-row[b-74e6v2ae15] {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Labels */
.form-label[b-74e6v2ae15] {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
}

.required[b-74e6v2ae15] {
    color: #e74c3c;
    margin-left: 3px;
    font-weight: 700;
}

/* Tooltip Icon */
.tooltip-icon[b-74e6v2ae15] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    cursor: help;
    margin-left: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: Arial, sans-serif;
}

    .tooltip-icon:hover[b-74e6v2ae15] {
        transform: scale(1.2);
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
    }

/* Form Inputs */
.form-input[b-74e6v2ae15],
.form-textarea[b-74e6v2ae15],
.form-select[b-74e6v2ae15] {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
    color: #333;
    line-height: 1.5;
    max-width: 100%;
}

    .form-input:focus[b-74e6v2ae15],
    .form-textarea:focus[b-74e6v2ae15],
    .form-select:focus[b-74e6v2ae15] {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
    }

    .form-input[b-74e6v2ae15]::placeholder,
    .form-textarea[b-74e6v2ae15]::placeholder {
        color: #999;
    }

.form-textarea[b-74e6v2ae15] {
    min-height: 280px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
}

.form-select[b-74e6v2ae15] {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Character Count */
.char-count[b-74e6v2ae15] {
    display: block;
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Error Message */
.error-message[b-74e6v2ae15] {
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 1.25rem 1.5rem;
    margin: 0 1.5rem 2rem 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.error-icon[b-74e6v2ae15] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Validation Summary */
.validation-summary[b-74e6v2ae15] {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
}

    .validation-summary ul[b-74e6v2ae15] {
        margin: 0.75rem 0 0 0;
        padding-left: 1.5rem;
    }

    .validation-summary li[b-74e6v2ae15] {
        margin: 0.5rem 0;
        line-height: 1.5;
    }

/* Validation Errors */
[b-74e6v2ae15] .validation-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Turnstile Container */
.turnstile-container[b-74e6v2ae15] {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

/* Submit Button */
.form-actions[b-74e6v2ae15] {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    text-align: center;
}

.submit-button[b-74e6v2ae15] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.125rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

    .submit-button:hover[b-74e6v2ae15] {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    }

    .submit-button:active[b-74e6v2ae15] {
        transform: translateY(0);
    }

    .submit-button:disabled[b-74e6v2ae15] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        pointer-events: none;
    }

.button-icon[b-74e6v2ae15] {
    font-size: 1.4rem;
}

/* Loading Spinner */
.button-spinner[b-74e6v2ae15] {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-74e6v2ae15 0.8s linear infinite;
}

@keyframes spin-b-74e6v2ae15 {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container[b-74e6v2ae15] {
        margin: 1.5rem 1rem;
        border-radius: 12px;
    }

    .form-header[b-74e6v2ae15] {
        padding: 2.5rem 2rem;
    }

        .form-header h1[b-74e6v2ae15] {
            font-size: 1.75rem;
        }

    .form-subtitle[b-74e6v2ae15] {
        font-size: 1rem;
    }

    .customer-story-form[b-74e6v2ae15] {
        padding: 2rem 1.5rem;
    }

    .form-section[b-74e6v2ae15] {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem 2rem;
    }

    .section-title[b-74e6v2ae15] {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .form-group[b-74e6v2ae15] {
        margin-bottom: 1.75rem;
        max-width: 100%;
    }

    .error-message[b-74e6v2ae15] {
        margin: 0 1.75rem 1.75rem 1.75rem;
        padding: 1rem 1.25rem;
    }
}

/* Animation */
@keyframes fadeIn-b-74e6v2ae15 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation state styles */
[b-74e6v2ae15] .valid.modified:not([type=checkbox]) {
    border-color: #28a745;
    width: 100% !important;
    max-width: 100% !important;
}

[b-74e6v2ae15] .invalid {
    border-color: #e74c3c;
    width: 100% !important;
    max-width: 100% !important;
}

[b-74e6v2ae15] .form-input.valid,
[b-74e6v2ae15] .form-input.invalid,
[b-74e6v2ae15] .form-input.modified,
[b-74e6v2ae15] .form-textarea.valid,
[b-74e6v2ae15] .form-textarea.invalid,
[b-74e6v2ae15] .form-textarea.modified {
    width: 100% !important;
    max-width: 100% !important;
}
