/* Teacher-login-style SSO chips for student portal (Auth) */
:root {
    --tlr-muted: #6b7280;
}

.tlr-sso-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: clamp(1rem, 2.5vh, 1.5rem) 0 clamp(0.5rem, 1.2vh, 1rem);
    color: var(--tlr-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.tlr-sso-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(6px, 1.8vw, 10px);
    width: 100%;
    flex-shrink: 0;
}

.tlr-sso-chip {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.2vw, 10px);
    padding: clamp(8px, 2vw, 10px) clamp(6px, 1.5vw, 12px);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(0.72rem, 2.6vw, 0.875rem);
    font-weight: 600;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tlr-sso-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.tlr-sso-chip:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.tlr-sso-chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.tlr-sso-chip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.tlr-sso-chip__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.tlr-sso-chip__icon--img img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.tlr-sso-chip__text {
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.tlr-sso-chip:hover .tlr-sso-chip__icon svg,
.tlr-sso-chip:hover .tlr-sso-chip__icon img {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.tooltip.tlr-sso-tooltip {
    z-index: 1080;
}

.tooltip.tlr-sso-tooltip .tooltip-inner {
    max-width: 220px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #fff;
    text-align: center;
    background: #1e293b;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.tooltip.tlr-sso-tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #1e293b;
}

.tooltip.tlr-sso-tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #1e293b;
}

.tooltip.tlr-sso-tooltip.bs-tooltip-left .arrow::before {
    border-left-color: #1e293b;
}

.tooltip.tlr-sso-tooltip.bs-tooltip-right .arrow::before {
    border-right-color: #1e293b;
}
