:root {
    --color-brand-teal: #2a5681;
    --color-brand-teal-hover: #1e4060;
    --color-brand-dark-teal: #062038;
    --color-brand-slate: #7393b0;
    --page-bg: #f5f6fa;
    --radius-button: 10px;
    --radius-card: 12px;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-stack);
    color: #333;
    background: var(--page-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-stack);
    color: var(--color-brand-dark-teal);
    letter-spacing: -0.01em;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.main-left-side {
    flex: 0 0 40%;
    min-height: 100vh;
    position: relative;
    background: var(--page-bg);
    overflow: hidden;
}
.main-left-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('login-screen-bg.jpg') no-repeat center center / cover;
    opacity: 0.75;
    z-index: 0;
}

.logo-container {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.logo-container svg {
    height: 100px;
    width: auto;
}

.main-right-side {
    flex: 0 0 60%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.main-panel {
    max-width: 660px;
    padding: 56px;
    width: 100%;
    text-align: center;
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(42, 86, 129, 0.1);
    color: var(--color-brand-teal);
    margin-bottom: 8px;
}
.icon-wrap svg {
    width: 40px;
    height: 40px;
}

.main-panel h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 20px 0 12px;
}
.main-panel .subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
    margin: 0 0 28px;
    line-height: 1.55;
}

.retry-info {
    margin: 28px 0 8px;
    padding: 16px 20px;
    background: var(--page-bg);
    border-radius: var(--radius-card);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
.retry-info strong { color: var(--color-brand-teal); }
.retry-info .countdown {
    display: inline-block;
    min-width: 3.5ch;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--color-brand-teal);
}

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    background: var(--color-brand-teal);
    border: 1px solid var(--color-brand-teal);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius-button);
    margin-top: 20px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus {
    background: var(--color-brand-teal-hover);
    border-color: var(--color-brand-teal-hover);
    box-shadow: 0 8px 16px rgba(42, 86, 129, .3);
    color: #fff;
    outline: none;
}

@media (max-width: 991px) {
    .main-left-side { display: none; }
    .main-right-side { flex: 0 0 100%; }
    .main-panel { padding: 32px 20px; }
    .main-panel h1 { font-size: 1.75rem; }
}
