.auth-container {
    padding: 20px 20px 40px;
}


.title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.avatar-section {
    margin-top: 10px;
}

.avatar-section p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.avatar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.avatar-item {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    display: inline-block;
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.avatars-error {
margin-top: 8px;
}

.lock-overlay img {
    width: 24px;
    height: auto;
}


.avatar-item.selected {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(108,71,255,0.6);
}

.auth-link {
    text-align: center;
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--primary-light);
    text-decoration: none;
}


.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-error-msg {
    color: #ff5c5c;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
    font-family: 'IRANSansX', sans-serif !important;
    display: block;
    width: 100%;
}

.auth-card .input {
    width: 100%;
    box-sizing: border-box;
}
