* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0A3D91 0%, #00C9FF 100%);
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px);
}
.top-header {
    width: 100%;
    background: #002b5c;
    padding: 18px 0;
    text-align: center;
    color: #ffdd00;
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: 4px solid #ffdd00;
}
.login-wrapper {
    background: #ffffff;
    max-width: 420px;
    width: 100%;
    padding: 28px 24px 22px;
    margin: 20px auto 10px;
    border-radius: 12px;
}
.info-box {
    background: #e7f1ff;
    color: #08396a;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #0A3D91;
    margin-bottom: 16px;
    font-size: 0.9em;
}
.error-box {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-bottom: 10px;
    font-size: 0.9em;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #495057;
    font-size: 0.9em;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    font-size: 0.95em;
    margin-bottom: 14px;
    transition: all 0.2s;
}
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}
.btn-primary {
    width: 100%;
    padding: 11px 0;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.45);
}
.links {
    margin-top: 16px;
    font-size: 0.9em;
    text-align: center;
}
.links a {
    color: #0A3D91;
    text-decoration: none;
}
.links a:hover { text-decoration: underline; }
.contact-button-container {
    text-align: center;
    padding: 0;
    margin-top: auto;
    width: 100%;
}
.contact-button {
    display: block;
    width: 100%;
    padding: 12px 40px;
    background: #002b5c;
    color: #ffdd00;
    border: 2px solid #ffdd00;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}
.contact-button:hover {
    background: #ffdd00;
    color: #002b5c;
}
.brn-logo {
    height: 42px;
    vertical-align: middle;
    margin-right: 10px;
}
.advantages-box {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #0047AB;
    border-radius: 6px;
    background: #f8faff;
    color: #003366;
    font-size: 0.95em;
    line-height: 1.4;
}
.advantages-box strong {
    font-size: 1.05em;
    display: block;
    margin-bottom: 6px;
}
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}
.demo-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0A3D91 0%, #00C9FF 100%);
    color: #ffdd00;
    border: 3px solid #ffdd00;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.demo-button:hover {
    background: linear-gradient(135deg, #00C9FF 0%, #0A3D91 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #ffdd00;
}
.admin-link {
    font-size: 0.65em;
    color: #999;
    text-decoration: none;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f5f5f5;
    transition: all 0.2s;
}
.admin-link:hover {
    color: #666;
    background: #e9e9e9;
    border-color: #bbb;
    text-decoration: none;
}

