/**
 * SSC Proposal Submission Form Styles
 * Aligned with Speinshart theme: no grey boxes, section dividers, black heading underlines.
 *
 * @package SSC_Proposal
 */

.ssc-proposal-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ssc-form-section {
    padding: 0 0 32px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
}

.ssc-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.ssc-form-section h3 {
    margin: 0 0 20px 0;
    color: #000;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.ssc-form-row {
    margin-bottom: 20px;
}

.ssc-form-field {
    width: 100%;
}

#ssc-form-messages {
    margin-top: 20px;
    padding: 15px 0;
    display: none;
}

#ssc-form-messages.success {
    background: #e8f5e9;
    border: none;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
    display: block;
    padding: 15px 20px;
}

#ssc-form-messages.error {
    background: #ffebee;
    border: none;
    border-left: 4px solid #c62828;
    color: #b71c1c;
    display: block;
    padding: 15px 20px;
}

.ssc-form-field input.error,
.ssc-form-field textarea.error,
.ssc-form-field select.error {
    border-color: #d63638;
}

/* Honeypot - hidden from users */
.ssc-honeypot {
    display: none !important;
}

/* Participant Repeater */
.ssc-participant-item {
    margin-bottom: 10px;
}

.ssc-participant-item-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.ssc-participant-item-inner:last-of-type {
    border-bottom: none;
}

.ssc-participant-item input {
    width: 100%;
}

.ssc-participant-actions {
    display: flex;
    align-items: flex-end;
}

.ssc-participant-item:first-child .ssc-remove-participant {
    display: none;
}

.ssc-remove-participant {
    margin-left: 10px;
}

#ssc-add-participant-row {
    margin-top: 10px;
}

/* File Upload Area */
#ssc-file-upload-area {
    border: 1px dashed #e0e0e0;
    padding: 20px;
    border-radius: 0;
    background: transparent;
}

#ssc-file-upload-area:hover {
    border-color: #000;
}

#ssc-file-list {
    margin-top: 10px;
}

#ssc-file-list .ssc-file-list-item,
#ssc-file-list div {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 5px;
}

/* Thank You Box - Speinshart minimal */
.ssc-thank-you-box {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px 0;
    background: transparent;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 32px;
    margin-bottom: 40px;
}

.ssc-thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #000;
    color: white;
    font-size: 48px;
    line-height: 80px;
    border-radius: 50%;
}

.ssc-thank-you-box h2 {
    margin: 0 0 15px;
    color: #000;
    font-size: 1.75rem;
    font-weight: 600;
}

.ssc-thank-you-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
}

.ssc-thank-you-details {
    background: transparent;
    padding: 15px 0;
    margin: 20px 0;
    border-left: 4px solid #000;
    text-align: left;
    padding-left: 20px;
}

.ssc-thank-you-details p {
    margin: 5px 0;
    color: #333;
}

.ssc-thank-you-email-note {
    color: #666;
    font-size: 14px;
    margin: 20px 0;
}

/* Status link: Speinshart arrow-button or black button */
.ssc-status-link-button {
    display: inline-block;
    background: #000;
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 2px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 16px;
    margin: 20px 0;
    transition: background 0.3s ease;
}

.ssc-status-link-button:hover {
    background: #333;
    color: #fff !important;
}

.ssc-thank-you-footer {
    color: #666;
    font-size: 13px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .ssc-proposal-form {
        padding: 10px 0;
    }

    .ssc-form-section {
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .ssc-participant-item-inner {
        grid-template-columns: 1fr;
    }

    #ssc-file-upload-area {
        padding: 15px;
    }
}
