
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 20%, #12366a 0%, transparent 35%),
        radial-gradient(circle at 80% 80%, #102d59 0%, transparent 35%),
        #071426;
    color: #ffffff;
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 45px 38px 30px;
    text-align: center;
    background: rgba(13, 30, 54, 0.92);
    border: 1px solid rgba(100, 160, 230, 0.22);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.brand-icon {
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1685ff, #0750b5);
    box-shadow: 0 8px 30px rgba(22, 133, 255, 0.3);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

h1 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 9px;
}

.subtitle {
    color: #91a9c7;
    font-size: 13px;
}

.login-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.09);
    margin: 30px 0;
}

h2 {
    font-size: 21px;
    margin-bottom: 9px;
}

.description {
    color: #91a9c7;
    font-size: 14px;
    margin-bottom: 28px;
}

.google-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #1d2939;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.google-button:hover {
    background: #e8f1ff;
    transform: translateY(-2px);
}

.google-button span {
    font-size: 19px;
    font-weight: 800;
    color: #4285f4;
    margin-right: 12px;
}

.message {
    min-height: 20px;
    margin-top: 16px;
    font-size: 13px;
    color: #ffb4b4;
}

footer {
    margin-top: 35px;
    color: #637b99;
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 35px 24px 25px;
    }

    h1 {
        font-size: 22px;
    }
}

/* Phase 9: audit details and report charts */
.audit-detail-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;position:fixed;inset:0;margin:auto;padding:24px;border:1px solid #344f73;border-radius:14px;background:#10233d;color:#edf4ff;box-shadow:0 24px 80px #0009}
.audit-detail-dialog::backdrop{background:rgba(3,10,20,.72)}
.audit-detail-dialog h3{margin-bottom:16px}
.audit-detail-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:12px;border-bottom:1px solid #294766;padding:10px 0;font-size:13px;overflow-wrap:anywhere}
.audit-detail-row span,.report-note{color:#91a9c7;font-size:12px}
#reportsRoot .report-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}
#reportsRoot .report-stats .stat-card{min-width:0;overflow-wrap:anywhere}
.report-bar-row{margin:14px 0}.report-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:6px}.report-bar-track{height:9px;background:#20334d;border-radius:5px;overflow:hidden}.report-bar-track>div{height:100%;background:#3989ed;border-radius:5px}
@media(max-width:1100px){#reportsRoot .report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#reportsRoot .report-stats{grid-template-columns:1fr}}
