UI: Extremely compact AuthGuard for map carousel

This commit is contained in:
2026-03-03 12:17:40 -05:00
parent e0156ee9e6
commit cdde701f9f

View File

@ -103,72 +103,72 @@ function goToLogin() {
}
.auth-card {
max-width: 320px;
max-width: 290px;
width: 100%;
padding: 1.5rem 1.25rem;
border-radius: 1.5rem;
padding: 1rem;
border-radius: 1.25rem;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
gap: 0.5rem;
animation: float 6s ease-in-out infinite;
}
.auth-icon-circle {
width: 48px;
height: 48px;
width: 32px;
height: 32px;
background: var(--active-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.25rem;
margin-bottom: 0;
}
.auth-icon-circle .material-icons {
font-size: 1.5rem;
font-size: 1.1rem;
color: #101820;
}
.auth-title {
font-size: 1.1rem;
font-size: 0.95rem;
font-weight: 900;
color: var(--text-primary);
margin: 0;
line-height: 1.2;
line-height: 1.1;
}
.auth-message {
font-size: 0.85rem;
font-size: 0.75rem;
color: var(--text-secondary);
line-height: 1.4;
line-height: 1.3;
margin: 0;
}
/* ── ACTIONS ── */
.auth-actions {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 0.5rem;
grid-template-columns: 1fr 1fr;
gap: 0.4rem;
width: 100%;
margin-top: 1rem;
margin-top: 0.25rem;
}
.primary-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 0.75rem 0.5rem;
gap: 0.3rem;
padding: 0.6rem 0.4rem;
background: var(--active-color);
color: #101820;
border: none;
border-radius: 0.75rem;
border-radius: 0.6rem;
font-weight: 800;
font-size: 0.85rem;
font-size: 0.75rem;
cursor: pointer;
white-space: nowrap;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
@ -180,13 +180,13 @@ function goToLogin() {
}
.secondary-btn {
padding: 0.75rem 0.5rem;
padding: 0.6rem 0.4rem;
background: rgba(255,255,255,0.05);
color: var(--text-primary);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 0.75rem;
border-radius: 0.6rem;
font-weight: 700;
font-size: 0.8rem;
font-size: 0.75rem;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;