.form-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid var(--accent-blue);
}

.form-intro p {
    margin: 0 0 12px;
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.application-form {
    max-width: 100%;
}

.form-section {
    background: #fafafa;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-orange);
}

.form-group {
    margin-bottom: 20px;
}

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

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

.form-group label.required::after {
    content: ' *';
    color: #e60012;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-notice {
    background: #fff9e6;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.form-notice p {
    margin: 0 0 8px;
}

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

.form-notice strong {
    color: var(--text-main);
    font-weight: 700;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.btn-submit {
    width: 100%;
    background: var(--accent-blue);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
    font-family: inherit;
}

.btn-submit:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    width: 100%;
    background: var(--white);
    color: var(--text-main);
    padding: 14px 32px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

.btn-back:hover {
    background: #f5f5f5;
    border-color: var(--text-main);
}

.btn-back:active {
    transform: scale(0.98);
}

.success-message {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s ease 0.2s both;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px;
}

.success-message p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 8px;
}

.success-message p:last-of-type {
    margin-bottom: 0;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
