/* Application Page Styles */

.nav-link.active {
    color: #dc2626;
}

.application-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    background-color: #0a0a0a;
}

.application-header {
    text-align: center;
    margin-bottom: 60px;
}

.application-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.application-subtitle {
    font-size: 16px;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
}

.application-content {
    max-width: 900px;
    margin: 0 auto;
}

.application-form {
    background: #0a0a0a;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    background: linear-gradient(135deg, #141414 0%, #0f0f0f 100%);
    border: 1px solid #2a2a2a;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #dc2626;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1);
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #dc2626 0%, transparent 100%);
    padding: 12px 20px;
    margin: -40px -40px 30px -40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #dc2626;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #dc2626;
    background-color: rgba(220, 38, 38, 0.05);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 45px;
}

.form-select option {
    background-color: #0a0a0a;
    color: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    user-select: none;
}

.radio-label:hover,
.checkbox-label:hover {
    background-color: rgba(220, 38, 38, 0.05);
    border-color: #dc2626;
}

.radio-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.radio-label.disabled:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: #2a2a2a;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #dc2626;
}

.radio-label.disabled input[type="radio"] {
    cursor: not-allowed;
}

.radio-text,
.checkbox-text {
    font-size: 14px;
    font-weight: 500;
    color: #d1d5db;
}

.checkbox-label.agreement {
    background-color: transparent;
    border: none;
    padding: 0;
}

.checkbox-label.agreement .checkbox-text {
    font-size: 15px;
    line-height: 1.6;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #dc2626;
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    background-color: #b91c1c;
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-submit:active {
    transform: translateX(8px) scale(0.98);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.4s ease;
}

.btn-submit:hover .btn-arrow {
    transform: translateX(5px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #dc2626;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-icon svg {
    width: 45px;
    height: 45px;
    color: #fff;
    stroke-width: 2;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.modal-text {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-modal {
    background-color: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-modal:hover {
    background-color: #b91c1c;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .application-section {
        padding: 120px 0 60px;
    }

    .application-title {
        font-size: 36px;
    }

    .application-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
    }

    .modal-content {
        padding: 40px 30px;
    }
}