/* ==========================================================================
   Platino - Login page styles
   Dedicated stylesheet for Views/Account/Login.cshtml ONLY.
   Not shared with _Layout.cshtml, Site.css, or any Areas/Admin assets.
   ========================================================================== */

:root{
    --brand:#d71920;
    --accent:#2171b8;
    --text:#111217;
    --muted:#6b6f76;
    --bg:#ffffff;
    --max-width:1200px;
    --gap:24px;
}

.rc-login-page{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height:1.6;
    color:var(--text);
    background:#fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

.rc-login-page *,
.rc-login-page *::before,
.rc-login-page *::after{
    box-sizing:border-box;
}

.rc-login-page header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 4.5%;
    min-height:50px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,15,15,0.08);
    position:sticky;
    top:0;
    z-index:60;
}

.rc-login-page .logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:24px;
    font-weight:800;
    color:#0c0b0b;
}

.rc-login-page .logo-img{
    height:30px;
    width:auto;
    display:block;
}

.rc-login-page .logo-text{
    display:inline-block;
}

.rc-login-page nav a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    letter-spacing:0.03em;
    transition:color .18s ease;
    font-size:14px;
}

.rc-login-page nav a:hover{
    color:var(--brand);
}

.rc-login-page .main-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:1;
    gap:20px;
}

.rc-login-page .nav-links{
    display:flex;
    gap:16px;
    align-items:center;
    white-space:nowrap;
}

.rc-login-page .nav-links a{
    padding:0;
    margin:0;
    color:var(--text);
}

@media(max-width:1000px){
    .rc-login-page .main-nav{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }
    .rc-login-page .nav-links{
        flex-wrap:wrap;
        gap:12px;
    }
}

.rc-login-page .hero{
    min-height:80vh;
    background:#07090b;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    position:relative;
    overflow:hidden;
    padding:0 6% 60px;
}

.rc-login-page .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(110deg, rgba(7,9,11,0.84) 28%, rgba(7,9,11,0.62) 62%, rgba(7,9,11,0.12) 100%);
    z-index:1;
}

.rc-login-page .hero-content{
    background:transparent;
    position:relative;
    z-index:2;
    max-width:1200px;
    width:100%;
    padding:60px 0;
    margin:0 auto;
}

.rc-login-page .hero-grid{
    display:grid;
    grid-template-columns:58% 42%;
    gap:40px;
    align-items:center;
    min-height:calc(80vh - 120px);
}

.rc-login-page .hero-left{
    display:grid;
    grid-template-rows:1fr auto;
    gap:28px;
    min-height:450px;
    /* Keep the visual's drop-shadow from bleeding into the login card next to it */
    overflow:hidden;
    padding:4px;
    margin:-4px;
}

.rc-login-page .hero-visual{
    position:relative;
    height:100%;
    min-height:310px;
    border-radius:24px;
    background-image:url('Images/dgbg.jpg');
    background-position:center left;
    background-size:cover;
    background-repeat:no-repeat;
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    border:1px solid rgba(255,255,255,0.08);
}

.rc-login-page .hero-panel{
    position:relative;
    z-index:2;
}

.rc-login-page .login-card{
    position:relative;
    z-index:2;
}

.rc-login-page .hero-copy{
    max-width:560px;
    align-self:center;
    text-align:center;
    margin:0 auto;
}

.rc-login-page .hero-copy .rule{
    display:inline-block;
    width:80px;
    height:4px;
    background:var(--brand);
    margin-bottom:24px;
    border-radius:999px;
}

.rc-login-page .hero-copy h1{
    font-size:clamp(36px,4.2vw,58px);
    margin-bottom:18px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-0.03em;
}

.rc-login-page .hero-copy p{
    font-size:clamp(17px,1.4vw,20px);
    margin:0 0 28px 0;
    max-width:600px;
    color:#ffffff;
}

.rc-login-page .hero-copy h1,
.rc-login-page .hero-copy p{
    text-shadow:0 6px 20px rgba(0,0,0,0.6);
}

.rc-login-page .hero-panel{
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.rc-login-page .login-card{
    width:100%;
    padding:40px 34px;
    border-radius:28px;
    background:#ffffff;
    box-shadow:0 28px 70px rgba(9,14,24,0.16);
    color:#111217;
    min-height:420px;
}

.rc-login-page .login-note{
    display:block;
    font-size:15px;
    font-weight:700;
    color:#111111;
    margin-bottom:24px;
    text-align:center;
}

.rc-login-page .login-form{
    display:grid;
    gap:18px;
}

.rc-login-page .login-form label{
    display:grid;
    gap:8px;
    font-size:14px;
    font-weight:700;
    color:#252b35;
    text-align:left;
}

.rc-login-page .login-form .form-control{
    width:100%;
    border:1px solid rgba(17,18,23,0.12);
    border-radius:16px;
    padding:14px 18px;
    font-size:16px;
    color:#111217;
    background:#f8f9fb;
    height:auto;
    box-shadow:none;
}

.rc-login-page .login-form .form-control::placeholder{
    color:#9098a6;
}

.rc-login-page .login-form .form-control:focus{
    outline:none;
    border-color:rgba(215,25,32,0.9);
    box-shadow:0 0 0 4px rgba(215,25,32,0.12);
}

.rc-login-page .login-form .checkbox-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-weight:500;
    font-size:13px;
    color:var(--muted);
}

.rc-login-page .login-form .checkbox-row label{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:500;
    font-size:13px;
    color:var(--muted);
    margin:0;
}

.rc-login-page .text-danger{
    color:var(--brand);
    font-size:13px;
    display:block;
    text-align:left;
}

.rc-login-page .validation-summary-errors ul{
    list-style:none;
    padding:0;
    margin:0 0 14px 0;
    text-align:left;
}

.rc-login-page .btn-panel{
    width:100%;
    padding:15px 18px;
    border-radius:14px;
    font-size:16px;
    font-weight:700;
    border:none;
    background:var(--brand);
    color:#fff;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease;
    box-shadow:0 10px 26px rgba(215,25,32,0.24);
}

.rc-login-page .btn-panel:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(215,25,32,0.28);
}

.rc-login-page .container{
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 20px;
}

.rc-login-page .about-split{
    padding:80px 8%;
}

.rc-login-page .about-split-inner{
    max-width:var(--max-width);
    margin:0 auto;
    display:grid;
    grid-template-columns:1.25fr .85fr;
    gap:48px;
    align-items:start;
}

.rc-login-page .about-split .rule{
    display:block;
    width:120px;
    height:4px;
    background:#000;
    margin-bottom:15px;
}

.rc-login-page .about-split .left h1{
    font-size:clamp(26px,4vw,46px);
    line-height:1.05;
    margin:0 0 18px 0;
    font-weight:800;
    color:var(--text);
}

.rc-login-page .about-split .right p{
    font-size:17px;
    line-height:1.65;
    font-weight:500;
    color:var(--muted);
    max-width:540px;
}

.rc-login-page .services{
    padding:72px 6%;
}

.rc-login-page .services h2{
    text-align:center;
    font-size:38px;
    margin-bottom:16px;
}

.rc-login-page .cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
}

.rc-login-page .card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 26px rgba(15,15,15,0.06);
    transition:transform .18s ease, box-shadow .18s ease;
    display:flex;
    flex-direction:column;
}

.rc-login-page .card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(15,15,15,0.09);
}

.rc-login-page .card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.rc-login-page .card h3{
    padding:18px 18px 6px 18px;
    font-size:20px;
}

.rc-login-page .card p{
    padding:0 18px 22px 18px;
    color:var(--muted);
    margin-bottom:18px;
    flex:1 0 auto;
}

.rc-login-page .stats{
    background:var(--brand);
    color:white;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:26px;
    padding:48px 6%;
    text-align:center;
    align-items:center;
}

.rc-login-page .stat h3{
    font-size:26px;
    margin-bottom:6px;
}

.rc-login-page .connect{
    background:#070809;
    color:#fff;
    text-align:center;
    padding:80px 0 64px;
}

.rc-login-page .connect .container{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
}

.rc-login-page .connect h2{
    font-size:clamp(30px,4vw,48px);
    margin-bottom:40px;
    letter-spacing:-0.03em;
}

.rc-login-page .connect-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(220px,1fr));
    gap:0;
    border-top:1px solid rgba(255,255,255,0.12);
    border-bottom:1px solid rgba(255,255,255,0.12);
}

.rc-login-page .connect-card{
    padding:40px 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    position:relative;
}

.rc-login-page .connect-card:not(:last-child)::after{
    content:'';
    position:absolute;
    right:0;
    top:24px;
    bottom:24px;
    width:1px;
    background:rgba(255,255,255,0.12);
}

.rc-login-page .connect-icon{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
}

.rc-login-page .connect-icon img{
    max-width:28px;
    max-height:28px;
    display:block;
}

.rc-login-page .connect-card h3{
    font-size:22px;
    margin:0;
    font-weight:700;
}

.rc-login-page footer{
    text-align:center;
    padding:28px 10px;
    background:#08090a;
    color:#c9c9c9;
}

@media (max-width: 980px){
    .rc-login-page header{padding:12px 4%;}
    .rc-login-page .hero{padding:0 4% 50px;}
    .rc-login-page .hero-grid{grid-template-columns:1fr; gap:28px;}
    .rc-login-page .hero-left{grid-template-rows:auto;}
    .rc-login-page .hero-visual{min-height:320px;}
    .rc-login-page .hero-panel{justify-content:center;}
    .rc-login-page .login-card{min-height:auto; padding:32px 26px;}
}

@media(max-width:768px){
    .rc-login-page header{
        flex-direction:column;
        gap:12px;
        align-items:flex-start;
    }
    .rc-login-page .hero-copy h1{
        font-size:calc(28px + 1vw);
    }
    .rc-login-page .hero-copy p{
        font-size:16px;
    }
    .rc-login-page .stats{
        grid-template-columns:1fr;
    }
    .rc-login-page .about-split-inner{
        grid-template-columns:1fr;
        gap:22px;
    }
    .rc-login-page .about-split .left h1{
        font-size:26px;
    }
}
