.apply-container {
    max-width: 1000px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.apply-hero {
    margin-bottom: 3rem;
}

.apply-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.apply-hero p {
    color: #999999;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

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

.role-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.role-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.role-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.role-card-body {
    flex: 1;
}

.role-card-body h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.role-card-body p {
    color: #999999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.role-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-requirements li {
    color: #b3b3b3;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-requirements li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.role-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.role-status-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    border: 1px solid;
}

.role-status-badge.open {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.role-status-badge.closed {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.role-status-badge.checking {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.3);
    color: #9ca3af;
}

.btn-apply {
    padding: 0.625rem 1.25rem;
    background: #ffffff;
    border: none;
    border-radius: 6px;
    color: #0a0a0a;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-apply:hover:not(:disabled) {
    background: #e5e5e5;
}

.btn-apply:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.form-nav {
    margin-bottom: 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #b3b3b3;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-back:hover {
    color: #e5e5e5;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.form-role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.375rem 0.875rem;
    color: #e5e5e5;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.dynamic-questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dynamic-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dynamic-section h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: #10b981;
}

@media (max-width: 768px) {
    .apply-container {
        margin-top: 80px;
    }

    .apply-hero h1 {
        font-size: 1.875rem;
    }

    .role-cards {
        grid-template-columns: 1fr;
    }

    .role-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .apply-container {
        margin-top: 70px;
        padding: 0 10px;
    }

    .apply-hero h1 {
        font-size: 1.5rem;
    }

    .role-card {
        padding: 1.5rem;
    }
}