/* ============================================================================
   YAI Auth + Account styles
   Save to: /var/www/yai/public/css/yai-auth.css
   ============================================================================ */

/* ---------- Auth background ---------------------------------------------- */

.yai-auth-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: calc(100vh - 220px);
}

.yai-auth-card {
    background: #fff;
    border: 1px solid var(--yai-border, #e5e7eb);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}

/* ---------- Role picker cards -------------------------------------------- */

.yai-role-card {
    display: block;
    background: #fff;
    border: 2px solid var(--yai-border, #e5e7eb);
    border-radius: 14px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all .15s;
    height: 100%;
}

.yai-role-card:hover {
    border-color: var(--yai-blue, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, .12);
    color: inherit;
    text-decoration: none;
}

.yai-role-card h4 {
    color: var(--yai-blue, #1e3a8a);
    margin-bottom: 0;
    margin-top: 12px;
}

.yai-role-card ul {
    padding-left: 18px;
    color: #4b5563;
}

.yai-role-card ul li {
    margin-bottom: 4px;
}

/* ---------- Icon circle (role icon) -------------------------------------- */

.yai-role-icon {
    width: 64px;
    height: 64px;
    background: #eef2ff;
    color: var(--yai-blue, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* ---------- Header — login/account button -------------------------------- */

.yai-header-account-btn {
    background: var(--yai-red, #dc2626);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}

.yai-header-account-btn:hover {
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
}

.yai-header-user-menu {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.yai-header-user-menu:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* ---------- Generic ------------------------------------------------------ */

.yai-card-shell {
    background: #fff;
    border: 1px solid var(--yai-border, #e5e7eb);
    border-radius: 12px;
}
