/* Inscriptions page styles — extracted from inscriptions.html inline styles */

/* Form Page Specific Styles */
.section-form {
    background: var(--cream-bg);
}

.intro-text {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.intro-text p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Form Wrapper */
.form-wrapper {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2.5rem;
}

.progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 20%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: pointer;
    transition: var(--transition);
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    border: 3px solid transparent;
}

.progress-step.active .step-circle {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.progress-step.completed .step-circle {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-ultra-light);
}

.step-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-header h3 i {
    color: var(--primary);
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.field-error {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
}

.field-error.visible,
.field-error.field-error-visible {
    display: block;
}

/* Radio Buttons - Large Cards */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-card {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-card:hover {
    border-color: var(--primary-light);
}

.radio-card input {
    display: none;
}

.radio-checkmark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.radio-card input:checked + .radio-checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

.radio-card input:checked + .radio-checkmark::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-card input:checked ~ .radio-label {
    color: var(--primary);
    font-weight: 700;
}

.radio-label {
    font-weight: 600;
    color: var(--text-dark);
}

/* Radio Buttons - Inline Small */
.radio-inline {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    user-select: none;
    line-height: 1;
}

.radio-small input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.radio-checkmark-small {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    position: relative;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
    background: white;
}

.radio-checkmark-small::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.radio-small input[type="radio"]:checked + .radio-checkmark-small {
    background: var(--primary);
    border-color: var(--primary);
}

.radio-small input[type="radio"]:checked + .radio-checkmark-small::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-small:hover .radio-checkmark-small {
    border-color: var(--primary-light);
}

/* Checkbox Cards */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-card:hover {
    border-color: var(--primary-light);
}

.checkbox-card input {
    display: none;
}

.checkbox-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #CBD5E1;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 0.75rem;
    color: white;
    transition: var(--transition);
}

.checkbox-card input:checked + .checkbox-checkmark {
    background: var(--success);
    border-color: var(--success);
}

.checkbox-card input:checked + .checkbox-checkmark::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-card.error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.checkbox-text small {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* File Upload */
.upload-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-info i {
    color: var(--accent);
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.upload-zone {
    position: relative;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--light-bg);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
}

.upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
    transform: scale(1.02);
}

.upload-zone.uploaded {
    border-color: var(--success);
    border-style: solid;
    background: #F0FDF4;
}

.upload-zone.error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.upload-zone input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.upload-content i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.upload-zone.uploaded .upload-content i {
    color: var(--success);
}

.upload-zone.uploaded .upload-content i::before {
    content: '\f00c';
}

.upload-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.upload-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.upload-filename {
    display: none;
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 0.5rem;
    word-break: break-all;
}

.upload-zone.uploaded .upload-hint {
    display: none;
}

.upload-zone.uploaded .upload-filename {
    display: block;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.form-navigation .btn {
    min-width: 150px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Section */
.section-info {
    background: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.info-card ol,
.info-card ul {
    padding-left: 1.5rem;
    color: var(--text-medium);
}

.info-card ol {
    list-style-type: decimal;
}

.info-card ul {
    list-style-type: disc;
}

.info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    padding-left: 0.25rem;
}

.info-card li::marker {
    color: var(--primary);
}

/* Waiting List Card */
.waiting-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.waiting-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.waiting-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-deep);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.waiting-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0;
}

.waiting-card > p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.priority-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .priority-list {
        grid-template-columns: 1fr;
    }
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-bg);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    text-align: left;
}

.priority-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.waiting-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: left;
    background: var(--light-bg);
    padding: 0.875rem 1rem;
    border-radius: 10px;
}

.waiting-note i {
    color: var(--accent);
    margin-top: 0.15rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 1.5rem;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        gap: 0.25rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .upload-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-card {
        min-width: auto;
    }

    .form-navigation {
        flex-direction: column-reverse;
    }

    .form-navigation .btn {
        width: 100%;
    }

    .waiting-card {
        padding: 1.5rem;
    }

    .waiting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .step-label {
        display: none;
    }

    .progress-steps {
        justify-content: space-around;
    }

    .checkbox-card {
        padding: 1rem;
    }
}
