@import 'base.css';

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--light-bg);
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}
.submission-form,
.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.form-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 2rem;
}

.form-header h5 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}
.form-body {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: #fafafa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.1);
    background: #fff;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}
.form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.radio-option input[type="radio"] {
    display: none;
}
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
}

.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}
.radio-option input[type="radio"]:checked + .radio-mark {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

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

.radio-option:hover .radio-mark {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.agreement-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.agreement-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.agreement-item {
    margin-bottom: 1rem;
}
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}



.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-mark {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-mark::after {
    transform: translate(-50%, -60%) scale(1) rotate(45deg);
}

.checkbox-option:hover .checkbox-mark {
    border-color: var(--primary-color);
}
.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}
.file-upload-area {
    position: relative;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.02);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}
.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none !important;
    background: none !important;
}

.file-upload-text {
    pointer-events: none;
}

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

.file-upload-text span {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.file-upload-text small {
    color: #6c757d;
    font-size: 0.85rem;
}
.form-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f8f9fa;
}

.btn-submit {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
    font-size: 1rem;
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}
.latest-issue-showcase .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    color: var(--primary-color);
}


        /* Error States */
        .form-control.is-invalid,
        .file-upload-area.is-invalid {
            border-color: #dc3545 !important;
        }

        .file-upload-area.is-invalid {
            background: rgba(220, 53, 69, 0.05);
        }

        .invalid-feedback {
            display: none;
            color: #dc3545;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            font-weight: 500;
        }

        .is-invalid ~ .invalid-feedback,
        .is-invalid + .file-upload-text + .invalid-feedback,
        .was-validated .form-control:invalid ~ .invalid-feedback {
            display: block;
        }

        .radio-group.is-invalid .radio-mark,
        .agreement-item.is-invalid .checkbox-mark {
            border-color: #dc3545;
        }

        .radio-group.is-invalid ~ .invalid-feedback,
        .agreement-item.is-invalid .invalid-feedback {
            display: block;
        }

        /* Success States */
        .form-control.is-valid {
            border-color: #198754;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: left calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
            padding-left: 2.5rem;
        }

        /* Progress Indicator */
        .form-progress {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .progress-step {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #e0e0e0;
            transition: all 0.3s ease;
        }

        .progress-step.active {
            background: var(--primary-color);
            transform: scale(1.2);
        }

        .progress-step.completed {
            background: #198754;
        }

        /* Section Dividers */
        .form-section {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #f0f0f0;
        }

        .form-section:last-child {
            border-bottom: none;
        }

        .section-label {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.1rem;
        }

        .section-label i {
            width: 35px;
            height: 35px;
            background: rgba(139, 69, 19, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Character Counter */
        .char-counter {
            font-size: 0.8rem;
            color: #6c757d;
            text-align: left;
            margin-top: 0.25rem;
        }

        .char-counter.warning {
            color: #ffc107;
        }

        .char-counter.danger {
            color: #dc3545;
        }

        /* Loading State */
        .btn-submit.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-submit.loading .btn-text {
            display: none;
        }

        .btn-submit .spinner {
            display: none;
        }

        .btn-submit.loading .spinner {
            display: inline-block;
        }

        /* File Preview */
        .file-preview {
            display: none;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(139, 69, 19, 0.05);
            border-radius: 8px;
            margin-top: 1rem;
        }

        .file-preview.show {
            display: flex;
        }

        .file-preview i {
            font-size: 2rem;
            color: var(--primary-color);
        }

        .file-info {
            flex: 1;
        }

        .file-name {
            font-weight: 600;
            color: var(--text-color);
            word-break: break-all;
        }

        .file-size {
            font-size: 0.85rem;
            color: #6c757d;
        }

        .file-remove {
            background: none;
            border: none;
            color: #dc3545;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .file-remove:hover {
            background: rgba(220, 53, 69, 0.1);
        }

        /* Tooltip */
        .field-hint {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 0.25rem;
        }

        /* Required Indicator */
        .required-indicator {
            color: #dc3545;
            margin-right: 0.25rem;
        }

        /* Alert Enhancements */
        .alert-errors {
            background: #fff5f5;
            border: 1px solid #fed7d7;
            border-radius: 12px;
            padding: 1.25rem;
        }

        .alert-errors ul {
            margin: 0;
            padding-right: 1.25rem;
        }

        .alert-errors li {
            margin-bottom: 0.5rem;
        }

        .alert-errors li:last-child {
            margin-bottom: 0;
        }

        .alert-success-custom {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            border: none;
            border-radius: 12px;
            padding: 1.25rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .alert-success-custom i {
            font-size: 1.5rem;
            color: #155724;
        }
