﻿/* ── Full-page centering ── */
:root {
    --gl-bg: #FFF5F0;
}

body, #app {
    background-color: var(--gl-bg) !important;
}

.gl-background {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF0E6 50%, #FFE8D9 100%);
    pointer-events: none;
    z-index: 0;
}

.gl-shape {
    position: absolute;
    border-radius: 50%;
}

.gl-shape-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #E84E1B, #D04317);
    top: calc(50% - 260px);
    left: calc(50% - 240px);
    animation: gl-drift1 8s ease-in-out infinite alternate;
    opacity: 0.5;
}

.gl-shape-2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #E84E1B, #FF6B3D);
    bottom: calc(50% - 220px);
    right: calc(50% - 220px);
    animation: gl-drift2 9s ease-in-out infinite alternate;
    opacity: 0.45;
}

.gl-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FF8C5A, #FFB399);
    bottom: calc(50% - 320px);
    left: calc(50% + 60px);
    opacity: 0.4;
    animation: gl-drift3 11s ease-in-out infinite alternate;
}

@keyframes gl-drift1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 20px) scale(1.05);
    }
}

@keyframes gl-drift2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-20px, -30px) scale(1.08);
    }
}

@keyframes gl-drift3 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(15px, 25px) scale(0.95);
    }
}

/* ── Card ── */
.gl-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 360px;
    padding: 52px 40px 44px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 60px rgba(232, 78, 27, 0.1);
    text-align: center;
    animation: gl-fadeUp 0.65s cubic-bezier(.22,.68,0,1.2) forwards;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

@keyframes gl-fadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px)) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.gl-logo-img {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: block;
    border-radius: 12px;
}

.gl-card h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #D04317;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.gl-card > p {
    font-size: 0.82rem;
    color: rgba(43, 43, 43, 0.8);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* ── Google button ── */
.gl-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 52px;
    background: #ffffff;
    color: #2B2B2B;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.gl-google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #2B2B2B;
    text-decoration: none;
}

.gl-google-btn:active {
    transform: translateY(0);
    opacity: 0.92;
}

/* ── Divider ── */
.gl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 0;
}

.gl-divider span {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.gl-divider p {
    font-size: 0.7rem;
    color: rgba(43, 43, 43, 0.6);
    white-space: nowrap;
}

/* ── Footer ── */
.gl-footer {
    margin-top: 20px;
    font-size: 0.72rem;
    color: rgba(43, 43, 43, 0.7);
    line-height: 1.7;
}

.gl-footer a {
    color: #D04317;
    text-decoration: none;
    border-bottom: 1px solid rgba(208, 67, 23, 0.4);
    transition: color 0.2s;
}

.gl-footer a:hover {
    color: #E84E1B;
}

/* Access Denied Banner */
.gl-access-denied {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(208, 67, 23, 0.08);
    border: 1px solid rgba(208, 67, 23, 0.35);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: left;
    animation: gl-shake 0.4s ease;
}

@keyframes gl-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-5px); }
    60%       { transform: translateX(5px); }
}

.gl-access-denied-icon {
    font-size: 1.3rem;
    line-height: 1;
    color: #D04317;
    flex-shrink: 0;
    margin-top: 1px;
}

.gl-access-denied strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #D04317;
    margin-bottom: 3px;
}

.gl-access-denied p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(43, 43, 43, 0.8);
    line-height: 1.5;
}
