/**
 * @package     Joomla.Site
 * @subpackage  com_cesesubmitproposal
 *
 * @copyright   KAINOTOMO PH LTD - All rights reserved.
 * @license     GNU General Public License version 3 or later; see LICENSE
 */

.cesesubmitproposal {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.cesesubmitproposal h1 {
    margin-bottom: 1.5rem;
    color: #333;
}

.cesesubmitproposal h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.5rem;
}

.cesesubmitproposal h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.25rem;
}

.cesesubmitproposal h4 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: #777;
    font-size: 1.1rem;
}

/* Proposal type selection */
.proposal-type-selection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.proposal-type-selection .form-check {
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.proposal-type-selection .form-check:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.proposal-type-selection .form-check-input:checked + .form-check-label {
    font-weight: 600;
    color: #007bff;
}

/* Submission type selection */
.submission-type-selection {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.submission-type-selection .form-check-inline {
    margin-right: 30px;
}

/* Author sections */
.author-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.author-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #007bff;
}

.author-toggle {
    margin-top: 10px;
}

/* Abstract details */
.abstract-details {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* Working group selection */
.working-group-selection select {
    padding: 12px;
    font-size: 16px;
}

/* Panel and session info */
.panel-info,
.session-info {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

/* Summary view */
.summary-info {
    background: #f8f9fa;
}

.summary-info .row {
    padding: 10px 0;
}

.summary-info .row:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

/* Form actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.form-actions button {
    min-width: 120px;
    padding: 12px 24px;
}

/* Form validation */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* reCAPTCHA container */
.g-recaptcha {
    margin: 20px 0;
}

/* Success page */
.alert-success .alert-heading {
    color: #155724;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cesesubmitproposal {
        padding: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }

    .author-section {
        padding: 15px;
    }

    .proposal-type-selection .form-check {
        padding: 10px;
    }
}

/* Print styles */
@media print {
    .form-actions,
    .author-toggle,
    .btn {
        display: none !important;
    }

    .cesesubmitproposal {
        max-width: 100%;
    }
}
