:root {
    --gw-navy: #1a3a5a;
    --gw-navy-dark: #0f2840;
    --gw-blue: #2d6cdf;
    --gw-blue-light: #4a8fe7;
    --gw-green: #3d8b3d;
    --gw-green-dark: #2d6b2d;
    --gw-gold: #c8860a;
    --gw-panel-bg: #f4f6f8;
    --gw-border: #c8d0d8;
    --gw-text: #333333;
    --gw-text-light: #666666;
    --gw-font-base: 12px;
    --gw-font-input: 13px;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--gw-font-base);
    color: var(--gw-text);
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: var(--gw-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.gw-topbar {
    background: var(--gw-navy-dark);
    color: #ffffff;
    padding: 6px 0;
    font-size: 12px;
}

.gw-topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: right;
    padding: 0 15px;
}

.gw-topbar a {
    color: #ffffff;
    text-decoration: none;
}

.gw-topbar a:hover {
    text-decoration: underline;
}

.gw-topbar .sep {
    color: #8899aa;
    margin: 0 8px;
}

.gw-logo-area {
    text-align: center;
    padding: 20px 15px 10px;
}

.gw-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gw-logo-icon {
    width: 48px;
    height: 48px;
    background: #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gw-logo-icon::after {
    content: "▲";
    color: var(--gw-green);
    font-size: 18px;
    position: absolute;
    top: 8px;
}

.gw-logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--gw-navy);
}

.gw-site-logo {
    max-height: 36px;
    max-width: 200px;
    vertical-align: middle;
}

.gw-site-logo-landing {
    max-height: 80px;
    max-width: 400px;
    object-fit: contain;
    object-position: left center;
}

.gw-dash-header-left .gw-site-logo-dashboard {
    max-height: 76px;
    max-width: 380px;
    object-fit: contain;
    object-position: left center;
}

.gw-tagline {
    color: var(--gw-text-light);
    font-size: var(--gw-font-base);
    margin-top: 5px;
}

.gw-footer {
    background: #ffffff;
    border-top: 1px solid var(--gw-border);
    padding: 25px 15px;
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.gw-footer-links a {
    color: var(--gw-text);
    margin: 0 12px;
    font-size: var(--gw-font-base);
}

.gw-footer-copy {
    color: var(--gw-text-light);
    font-size: 12px;
    margin-top: 10px;
}

.gw-social {
    position: absolute;
    right: 30px;
    bottom: 25px;
}

.gw-social a {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--gw-blue);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 12px;
    margin-left: 5px;
    text-decoration: none;
}

.gw-btn,
button.gw-btn,
input.gw-btn,
a.gw-btn,
.gw-btn-panel,
a.gw-btn-panel {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.35;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    background: linear-gradient(to bottom, #f6f8fa, #e2e8ee);
    border: 1px solid #b0bac4;
    color: var(--gw-navy);
    box-sizing: border-box;
    vertical-align: middle;
}

.gw-btn:hover,
button.gw-btn:hover,
input.gw-btn:hover,
a.gw-btn:hover,
.gw-btn-panel:hover,
a.gw-btn-panel:hover {
    background: linear-gradient(to bottom, #eef2f6, #d4dce4);
    text-decoration: none;
    color: var(--gw-navy);
}

.gw-btn-panel,
.gw-btn-block {
    display: block;
    width: 100%;
}

.gw-btn-panel {
    padding: 7px 10px;
    margin-top: 8px;
}

.gw-btn-sm,
button.gw-btn.gw-btn-sm,
input.gw-btn.gw-btn-sm,
a.gw-btn.gw-btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.gw-btn-spaced {
    margin-left: 6px;
}

.gw-btn-blue,
.gw-btn-green {
    background: linear-gradient(to bottom, #f6f8fa, #e2e8ee);
    border: 1px solid #b0bac4;
    color: var(--gw-navy);
}

.gw-btn-blue:hover,
.gw-btn-green:hover {
    background: linear-gradient(to bottom, #eef2f6, #d4dce4);
    color: var(--gw-navy);
}

.gw-form-group {
    margin-bottom: 15px;
}

.gw-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--gw-navy);
    font-size: var(--gw-font-base);
}

.gw-form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gw-border);
    background: #ffffff;
    font-size: var(--gw-font-input);
    border-radius: 0;
}

.gw-form-control:focus {
    outline: none;
    border-color: var(--gw-blue);
}

.gw-alert,
.gw-camp-flash {
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    border: 1px solid;
    border-radius: 0;
}

.gw-alert-error,
.gw-camp-flash-error {
    background: #fdeaea;
    border-color: #e8b8b8;
    color: #8b2020;
}

.gw-alert-success,
.gw-camp-flash-success {
    background: #edf5ef;
    border-color: #b8d8b8;
    color: #2d5a3a;
}

.gw-alert-warning,
.gw-camp-flash-warning {
    background: #fff8e6;
    border-color: #e6d9a8;
    color: #7a5a10;
}

.gw-alert-info,
.gw-camp-flash-info {
    background: #eef4fb;
    border-color: #b8cce4;
    color: #2c4a6b;
}

.gw-auth-container {
    max-width: 450px;
    margin: 30px auto;
    padding: 25px;
    border: 1px solid var(--gw-border);
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-size: var(--gw-font-base);
}

.gw-auth-container h2 {
    color: var(--gw-navy);
    margin-bottom: 20px;
    text-align: center;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--gw-panel-bg);
}

.error-container {
    text-align: center;
}

.error-container h1 {
    font-size: 72px;
    color: var(--gw-navy);
}

.badge-gold {
    background: var(--gw-gold);
    color: #ffffff;
    padding: 2px 8px;
    font-size: var(--gw-font-base);
    font-weight: bold;
    border-radius: 0;
}

.badge-bronze { background: #cd7f32; color: #fff; padding: 2px 8px; font-size: var(--gw-font-base); }
.badge-silver { background: #aaa; color: #fff; padding: 2px 8px; font-size: var(--gw-font-base); }
.badge-platinum { background: #667; color: #fff; padding: 2px 8px; font-size: var(--gw-font-base); }

.gw-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.gw-footer .gw-landing-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.gw-landing-footer {
    border-top: 2px solid #1e3348;
    background: #f7f8f9;
    padding: 18px 0 14px;
    margin-top: 0;
}

.gw-footer-nav-row {
    text-align: center;
    font-size: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8dde3;
}

.gw-footer-nav-row a {
    color: #1e3348;
    text-decoration: none;
    font-weight: bold;
}

.gw-footer-nav-row a:hover {
    color: #b8860b;
    text-decoration: underline;
}

.gw-footer-sep {
    color: #c0c8d0;
    margin: 0 8px;
}

.gw-footer-copy-row {
    text-align: center;
    font-size: 11px;
    color: #6a7a88;
}

.gw-footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.gw-footer-bottom-area {
    position: relative;
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid #e4e8ec;
    min-height: 34px;
    box-sizing: border-box;
}

.gw-footer-bottom-area.has-ico-badge {
    padding-right: 96px;
    min-height: 62px;
}

.gw-footer-ico-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3px;
    width: 88px;
    padding: 6px 8px 5px;
    border: 1px solid #d8dde3;
    background: rgba(255, 255, 255, 0.82);
    box-sizing: border-box;
    opacity: 0.94;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gw-footer-ico-badge:hover {
    opacity: 1;
    border-color: #b8c4ce;
}

.gw-footer-ico-link {
    display: block;
    line-height: 0;
    width: 100%;
}

.gw-footer-ico-logo {
    display: block;
    width: 100%;
    height: 40px;
    object-fit: contain;
    object-position: center center;
}

.gw-footer-ico-number {
    display: block;
    font-size: 9px;
    line-height: 1.1;
    color: #6a7a88;
    letter-spacing: 0.03em;
    font-weight: 600;
    text-align: center;
}

.gw-footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #b8860b;
    color: #b8860b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.08);
}

.gw-footer-brand-text {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gw-footer-brand-name {
    font-weight: 700;
    color: #1e3348;
}

.gw-footer-brand-sub {
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #6a7a88;
}

