﻿:root {
    --rn-blue: #05aef5;
    --rn-blue-dark: #005fc4;
    --rn-navy: #06162c;
    --rn-grey: #68727c;
    --rn-dark-grey: #2d343b;
    --rn-white: #ffffff;
    --rn-border: rgba(255, 255, 255, 0.22);
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--rn-white);
    background: var(--rn-navy);
}

a {
    color: inherit;
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 530px;
    overflow: hidden;
    background: linear-gradient(135deg, #031126 0%, #05234a 55%, #06162c 100%);
}

.hero-panel {
    position: relative;
    /*background-image: url("../img/hero-background.jpg");*/
    background-size: cover;
    background-position: center;
    min-width: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 12, 27, 0.82), rgba(2, 32, 61, 0.58)), rgba(0, 0, 0, 0.42);
}

.blueprint-layer {
    position: absolute;
    inset: 0;
    background-image: url("../img/blueprint-overlay.png");
    background-size: cover;
    opacity: 0.65;
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: calc(100vh - 72px);
    padding: clamp(38px, 6vw, 86px) clamp(28px, 5vw, 86px) 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border: 1px solid rgba(5, 174, 245, 0.35);
    border-radius: 999px;
    color: #bdeeff;
    background: rgba(5, 174, 245, 0.12);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(50px, 7vw, 92px);
    line-height: 0.96;
    font-weight: 900;
    
    text-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

    .hero-content h1 span {
        color: var(--rn-blue);
        background: linear-gradient(90deg, #05bdfc, #0c78db);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-description {
    max-width: 720px;
    margin: 26px 0 34px;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    gap: 12px;
    max-width: 920px;
}

.feature-card {
    position: relative;
    height: 154px;
    overflow: hidden;
    border: 1px solid var(--rn-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

    .feature-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: saturate(1.04);
    }

    .feature-card:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 34%, rgba(0,0,0,.74));
    }

    .feature-card span {
        position: absolute;
        z-index: 1;
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-weight: 700;
        font-size: 14px;
        text-align: center;
    }

.form-panel {
    position: relative;
    z-index: 2;
    height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 42px;
    background: radial-gradient(circle at top right, rgba(5,174,245,.18), transparent 42%);
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 0px 34px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    color: #1d2833;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.logo-wrap {
    text-align: center;
    
}

    .logo-wrap img {
        width: 300px;
        max-width: 100%;
        height: auto;
        display: inline-block;
    }

.login-form {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 700;
    color: #222b34;
    margin-top: 9px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .62;
}

.input-wrap input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 46px;
    border: 1px solid #cbd5df;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    background: #fff;
    color: #111827;
    transition: .2s ease;
}

    .input-wrap input:focus {
        border-color: var(--rn-blue);
        box-shadow: 0 0 0 4px rgba(5, 174, 245, 0.15);
    }

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    margin-top: 9px;
    margin-bottom: 9px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #303944;
    font-weight: 500;
}

.form-options a {
    color: #006fd6;
    font-weight: 700;
}

.btn-login, .btn-cancel {
    width: 100%;
    height: 56px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.btn-login {
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, var(--rn-blue), var(--rn-blue-dark));
    box-shadow: 0 14px 28px rgba(0, 113, 214, .28);
    margin-bottom:9px;
}

    .btn-login span {
        float: right;
        margin-right: 12px;
        font-size: 22px;
        line-height: 18px;
    }

    .btn-login:hover {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

.btn-cancel {
    background: #fff;
    color: #062b5f;
    border: 1px solid #0776d9;
}

    .btn-cancel:hover {
        background: #eff8ff;
    }

.login-footer {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 72px;
    padding: 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(2, 13, 30, 0.82);
    backdrop-filter: blur(12px);
    font-size: 15px;
}

    .login-footer a, .login-footer span {
        color: rgba(255,255,255,.9);
    }

        .login-footer a:hover {
            color: var(--rn-blue);
        }

@media (max-width: 1120px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 30px;
        justify-content: flex-start;
    }

    .form-panel {
        position: absolute;
        top: 92px;
        right: 22px;
        width: min(430px, calc(100vw - 44px));
        background: transparent;
        padding: 0;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 560px;
    }
}

@media (max-width: 760px) {
    html, body {
        overflow: auto;
    }

    .login-page {
        min-height: 100vh;
        overflow: auto;
    }

    .hero-content, .form-panel {
        height: auto;
    }

    .hero-content {
        padding: 24px 18px 24px;
    }

    .form-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 0 18px 92px;
    }

    .login-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .feature-grid {
        display: none;
    }

    .login-footer {
        position: fixed;
        padding: 10px 14px;
        gap: 12px;
        font-size: 12px;
    }
}
.recover-modal {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

    .recover-modal .modal-header {
        text-align: center;
        border-bottom: none;
        padding: 30px 35px 10px;
    }

.recover-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.recover-modal .modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #143d73;
    margin-bottom: 10px;
}

.recover-subtitle {
    color: #6f7b88;
    font-size: 14px;
    line-height: 22px;
}

.recover-modal .modal-body {
    padding: 25px 35px;
}

.recover-modal label {
    font-weight: 600;
    color: #3b4754;
}

.recover-modal .form-control {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #d8dee7;
    padding-left: 42px;
    font-size: 15px;
    box-shadow: none;
}

    .recover-modal .form-control:focus {
        border-color: #1ca8ff;
        box-shadow: 0 0 0 4px rgba(28,168,255,.12);
    }

.recover-modal .input-icon {
    position: relative;
    position: unset;
    transform: none;
}

    .recover-modal .input-icon i {
        color: #000;
        font-size: 16px;
        position: absolute;
        left: 50px;
        top: 57%;
        transform: translateY(-50%);
        opacity: .62;
        z-index: 5;
    }

.recover-modal .modal-footer {
    border-top: none;
    padding: 0 35px 35px;
    display: flex;
    gap: 12px;
}

.btn-recover {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(90deg,#18a9ff,#006bd6);
    border: none;
    font-weight: 600;
}

.btn-cancel {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #cfd6df;
    background: #fff;
    color: #3d4650;
}

    .btn-cancel:hover {
        background: #f4f7fa;
    }

.modal.fade .modal-dialog {
    margin-top: 90px;
}