.registration-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.step.active .step-circle {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.step.active .step-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.step-line {
    position: absolute;
    top: 20px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.role-selection {
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.role-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.role-card {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.role-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.1);
}

.role-card.selected { border-color: var(--secondary); }
.role-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 24px;
}

.role-card.selected .role-icon {
    background: var(--danger);
    color: var(--white);
}

.role-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.role-description {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin: 0;
}

.next-btn {
    background: var(--danger);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.next-btn:hover {
    background: var(--danger);
    transform: translateY(-1px);
}

.next-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.back-btn {
    background: none;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.form-container {
    padding: 40px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.register-form{ width: 100%; }
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.registerBtn{
    padding: 15px;
    border-radius: 5px;
    background: var(--success);
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--success);
}

.registerBtn:hover{
    background: none;
    color: var(--dark);
}

#step2, .provider-only{ display: none; }


/* Responsive */
@media (max-width: 768px) {
    .role-options {
        grid-template-columns: 1fr;
    }

    .form-container,
    .role-selection {
        padding: 25px;
        margin: 0 15px;
    }

    .step-label {
        font-size: 12px;
    }
}


@media (max-width: 560px){
    .grid-2 { grid-template-columns: repeat(1, 1fr); }
}


.resend-btn {
    background: none;
    border: none;
    color: #999;
    cursor: not-allowed;
    font-weight: 600;
}

.resend-btn.active {
    color: #2196F3;
    cursor: pointer;
    text-decoration: underline;
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}