* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top left, #e0edff 0, transparent 55%),
                radial-gradient(circle at bottom right, #e5f0ff 0, transparent 55%),
                #eef3ff;
    min-height: 100vh;
}

.apply-shell {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.apply-card {
    max-width: 1400px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    padding: 32px 36px;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.apply-left {
    min-width: 0;
}

/* Inner container now behaves as a simple wrapper */
.apply-left .container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    padding: 0;
    max-height: none;
    overflow: visible;
}

.apply-right {
    background: #f3f7ff;
    border-radius: 24px;
    padding: 20px 24px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.expect-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111827;
}

.expect-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.expect-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.expect-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #157cd1;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expect-list h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #111827;
}

.expect-list p {
    font-size: 13px;
    color: #4b5563;
}

.extra-info {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.extra-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.extra-info ul {
    list-style: disc;
    margin-left: 18px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #4b5563;
}

.extra-info ul li + li {
    margin-top: 2px;
}

@media (max-width: 900px) {
    .apply-card {
        border-radius: 24px;
        padding: 24px 20px;
    }

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

    .apply-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    .apply-shell {
        padding: 16px;
    }
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.hint-box {
    background: #f3f4ff;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.hint-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.hint-list {
    margin-left: 18px;
    font-size: 13px;
    color: #4b5563;
}

.hint-list li + li {
    margin-top: 4px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

label::after {
    content: ' *';
    color: #dc2626;
}

input[type="email"],
input[type="tel"],
input[type="text"],
select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

input[type="email"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.section-divider {
    margin: 30px 0 25px 0;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #667eea;
    margin-right: 10px;
    border-radius: 2px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .input-group {
        grid-template-columns: 1fr;
    }
}

.btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.didit-container {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    min-height: 700px;
    width: 100%;
    overflow: visible;
}

.didit-container > * {
    width: 100%;
}

.didit-placeholder {
    color: #666;
    font-size: 14px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.step-indicator {
    color: #999;
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
}