:root { 
    --primary: rgb(57, 150, 139); 
    --radius: 0.8em;
    --bg-base: #0d1117;
    --glass-bg: rgba(22, 27, 34, 0.9);
}
body {
    max-width: 100%;
    margin: 0 auto !important;
    background: var(--bg-base) !important;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(57, 150, 139, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(57, 150, 139, 0.06), transparent);
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    left: 0;
    top: 0;
    position: relative;
}
@media (min-width: 576px) {
    body { max-width: 28em; }
}
@media (min-width: 768px) {
    body { max-width: 34em; }
}
@media (min-width: 992px) {
    body { 
        max-width: 42em; 
        margin-top: 2em !important;
        margin-bottom: 2em !important;
        border-radius: var(--radius);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    }
}

* {
    font-family: "PeydaWebFaNum";
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    z-index: 2;
}

body.active .cover {
    opacity: 1;
}

.banner {
    display: block;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    overflow: hidden;
    padding: 7%;
    position: relative;
    z-index: 1;
    min-height: 15em;
}

body.active .banner {
    height: calc(100vh - 25em);
}

.banner .img {
    width: 120%;
    height: 80%;
    display: block;
    margin-left: -10%;
}

body.active .banner .img {
    width: 100%;
    margin-left: 0;
}

.banner .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 4px 12px rgba(57, 150, 139, 0.2));
}

.banner p {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.7em;
    font-weight: 500;
    margin-top: 0;
    margin-top: -5vh;
    color: #e6edf3;
}

body.active .banner p {
    font-size: 1.4em;
    margin-top: 1vh;
    color: #e6edf3;
}

.card.content,
.content {
    display: block;
    width: 100%;
    min-height: 25em;
    left: 0;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 2vh 5vw;
    position: relative;
    z-index: 3;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(48, 54, 61, 0.5);
    border-bottom: none;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(48, 54, 61, 0.3) !important;
}
@media (min-width: 992px) {
    .card.content, .content {
        border-radius: var(--radius);
        border: 1px solid rgba(48, 54, 61, 0.5);
        box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(48, 54, 61, 0.3) !important;
    }
}

.content form {
    position: absolute;
    left: 10%;
    width: 80%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.content form > h1 {
    text-align: center;
    display: block;
    margin-bottom: 1.5em;
    font-size: 2em;
    font-weight: 600;
    color: var(--primary);
}

.content form .alert-danger {
    background: rgba(248, 81, 73, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.4);
    color: #f85149;
    border-radius: var(--radius);
    margin-bottom: 1em;
}

.content form .md-form input {
    text-align: center;
    background: #1c232e !important;
    border: 1px solid rgba(48, 54, 61, 0.5) !important;
    color: #e8eef4 !important;
    border-radius: var(--radius);
}

.content form .md-form input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(57, 150, 139, 0.2) !important;
}

.content form .md-form input::placeholder {
    color: #6e7681;
}

.content form > .actions {
    display: block;
    width: 100%;
}

.content form > .actions > button {
    background: linear-gradient(135deg, var(--primary), rgba(57, 150, 139, 0.9));
    font-size: 1em;
    padding: 0.7em;
    border-radius: var(--radius);
    color: #fff;
    width: 100%;
    margin: 0;
    margin-top: 0.5em;
    border: none;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(57, 150, 139, 0.3);
    transition: all 0.25s ease;
}

.content form > .actions > button:hover {
    box-shadow: 0 4px 16px rgba(57, 150, 139, 0.4);
    transform: translateY(-1px);
}

/* Combined overrides from login_overrides.css */
/*
 * Modern login overrides
 *
 * This file customises the login page to use the same light theme
 * and accent colour as the rest of the application. Load this file
 * after login.css to override the dark base variables and styles.
 */

:root {
    --primary: rgb(0, 191, 166);
    --radius: 0.9em;
    --bg-base: #0d1117;
    --glass-bg: rgba(255, 255, 255, 0.1);
}

body {
    background: var(--bg-base) !important;
    background-image: none !important;
    color: #e5e7eb;
}

@media (min-width: 992px) {
    body {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
        border-radius: var(--radius);
    }
}

/* Form elements */
input.form-control, select.form-control, textarea.form-control {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6em;
    color: #e5e7eb;
}
input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 166, 0.35);
}

/* Primary button */
button.btn, button.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 0.6em;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 191, 166, 0.35);
}
button.btn:hover, button.btn-primary:hover {
    background: #018f7a;
    border-color: #018f7a;
}