:root {
    --gg-green: #5CB85C;
    --gg-blue-google: #4285F4;
    --gg-blue-clever: #187BD9;
    --gg-cyan-classlink: #26A0BB;
    --font-main: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: var(--font-main);
    color: #333;
    overflow: hidden;
}

body {
    background-image: url('https://account.goguardian.com/assets/images/bgs/shared-bg.76b708ff.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    /* Removed the "weird" thick blue border/frame */
}

.auth-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05); /* Very subtle overlay */
}

.auth-header {
    margin-top: 6vh;
    margin-bottom: 25px;
}

.logo {
    height: 48px; /* High-res wordmark height */
}

.auth-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 500px; /* Professional login card width */
    padding: 50px 55px;
    border-radius: 4px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1); /* Subtle, clean shadow */
    border: none;
}

.card-header {
    text-align: center;
    margin-bottom: 35px;
}

.card-header .admin-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-header h1 {
    font-size: 18px;
    font-weight: 400;
    color: #444;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: none;
    background-color: #E0E0E0;
    border-radius: 2px;
    font-size: 14px;
    outline: none;
}

.btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none; /* Fix: No blue/black focus boxes */
}

.btn-login {
    background-color: var(--gg-green);
    color: white;
}

.separator {
    position: relative;
    margin: 30px 0;
    text-align: center;
}

.separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.separator span {
    position: relative;
    background: white;
    padding: 0 12px;
    color: #aaa;
    font-size: 12px;
    z-index: 2;
}

.social-logins {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn-social {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    color: white;
    height: 44px;
}

.icon-box {
    background: white;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-box img {
    max-width: 24px;
    max-height: 24px;
}

.btn-text {
    flex: 1;
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    padding-right: 44px; /* Centering helper */
}

.btn-google { background-color: var(--gg-blue-google); }
.btn-clever { background-color: var(--gg-blue-clever); }
.btn-classlink { background-color: var(--gg-cyan-classlink); }

.form-footer {
    margin-top: 40px;
    text-align: left;
    font-size: 13px;
}

.links-row {
    margin-bottom: 12px;
}

.links-row.top {
    display: flex;
    justify-content: space-between;
}

.links-row a {
    text-decoration: none;
    color: #888;
}

.links-row a:hover {
    color: #444;
    text-decoration: underline;
}

.app-footer {
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #888;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #eee;
}

.footer-left a {
    margin-right: 20px;
    text-decoration: none;
    color: inherit;
}

@media (max-height: 850px) {
    .auth-header { margin-top: 3vh; }
    .auth-card { padding: 35px 55px; }
}
