.vs-reg-section {
    margin-block: 84px 32px;
    padding-inline: 20px;
    font-family: IRANSans, YekanBakh-Regular, sans-serif;
}

.vs-reg-container {
    max-width: 1280px;
    margin-inline: auto;
}

.vs-reg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
}

.vs-reg-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 196px;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
}

.vs-reg-card-doctor {
    background: linear-gradient(180deg, #f0f5ff, #d9e6ff);
    color: #161e55;
}

.vs-reg-card-user {
    background: linear-gradient(180deg, #f0fdfa, #ccfbf1);
    color: #00877d;
}

.vs-reg-card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
}

.vs-reg-card-user .vs-reg-card-title {
    color: #145754;
}

.vs-reg-description {
    max-width: 428px;
    min-height: 44px;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 22px;
}

.vs-reg-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 152px;
    max-width: 100%;
    min-height: 34px;
    margin-top: 18px;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    line-height: 22px;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.vs-reg-btn-doctor {
    background: #2d59f0;
}

.vs-reg-btn-doctor:hover {
    background: #2449d6;
}

.vs-reg-btn-user {
    background: #0d9488;
}

.vs-reg-btn-user:hover {
    background: #0f8076;
}

.vs-reg-btn:focus-visible {
    outline: 2px solid #161e55;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .vs-reg-section {
        margin-block: 40px 36px;
    }

    .vs-reg-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .vs-reg-card {
        min-height: 252px;
        padding: 30px 24px;
        border-radius: 16px;
    }

    .vs-reg-card-title {
        font-size: clamp(22px, 5.5vw, 28px);
        line-height: 1.4;
    }

    .vs-reg-description {
        min-height: 2.8em;
        margin-top: 20px;
        font-size: clamp(16px, 3.92vw, 20px);
        line-height: 1.4;
    }

    .vs-reg-btn {
        width: clamp(152px, 38.55vw, 197px);
        min-height: 44px;
        margin-top: 24px;
        border-radius: 5px;
        font-size: 16px;
        line-height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-reg-btn {
        transition: none;
    }
}
