﻿.auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient( 135deg, #f4f4f5, #ffffff );
}

.auth-card {
    max-width: 480px;
    margin: auto;
    padding: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: white;
    box-shadow: 0 25px 70px rgba(0,0,0,.08);
}

.auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: #111;
    color: white;
    font-weight: bold;
}

.auth-divider {
    position: relative;
    margin: 28px 0;
    text-align: center;
}

    .auth-divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid #e5e7eb;
    }

    .auth-divider span {
        position: relative;
        padding: 0 12px;
        background: white;
        color: #999;
        font-size: 13px;
    }
.register-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


.register-role-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}

.register-role-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.register-role-content {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    background: #fff;
    border: 2px solid #e3ddd6;
    border-radius: 16px;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}


.register-role-card:hover
.register-role-content {
    border-color: #aa8060;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 47, 37, .08);
}

.register-role-radio:checked + .register-role-content {
    border-color: #8c6448;
    background: #faf6f1;
    box-shadow: 0 0 0 3px rgba(140, 100, 72, .12);
}


.register-role-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f4eee8;
    color: #493b31;
    font-size: 34px;
    line-height: 1;
}


.register-role-title {
    display: block;
    color: #302923;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}


.register-role-description {
    display: block;
    max-width: 220px;
    color: #81766d;
    font-size: 13px;
    line-height: 1.5;
}


.register-role-radio:checked + .register-role-content
.register-role-icon {
    background: #8c6448;
    color: white;
}


@@media (max-width: 575.98px) {

    .register-role-grid {
        grid-template-columns: 1fr;
    }

    .register-role-content {
        min-height: 155px;
    }
}
