/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow-x: hidden;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */
.layout {
    display: flex;
    height: 100vh;
    width: 100%;
    background-image: url('img/login-bg.png');
    background-size: cover;
    background-position: center;
}

/* =========================
   PANEL IZQUIERDO
========================= */
.panel-left {
    width: 48%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px) saturate(100%) brightness(1.05);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.panel-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.45) 0%,
        rgba(255,255,255,0.15) 70%,
        rgba(255,255,255,0.05) 100%
    );
    pointer-events: none;
}

.content {
    width: 700px;
    margin-left: 50px; 
    margin-right: 20px;
    text-align: right;
}

/* GEMELO */
.brand {
    font-family: 'Kalnia', serif;
    font-size: 180px;
    font-weight: 600;
    color: rgba(133, 133, 133, 0.48);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.36);
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: -30px;
    text-align: right;
}

/* DIGITAL URBANO */
.brand-sub {
    font-family: 'Kameron', serif;
    font-size: 64px;
    font-weight: 900;
    color: #4E4E4E;
    letter-spacing: 0.3px;
    margin-bottom: 130px;
    text-align: right;
}

/* FORMULARIO */
.form {
    width: 88%;
}

.field {
    margin-bottom: 28px;
    margin-left: 20px; 
    margin-right: 20px;
}

label {
    display: block;
    font-size: 14px;
    color: #3C3C3C;
    margin-bottom: 8px;
    text-align: left;
}

input {
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #C7CDD4;
    background: #F4F6F9;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

input::placeholder {
    color: #9DA3AA;
    font-weight: 300;
}

input:focus {
    outline: none;
    border-color: #8DAED0;
    background: #FFFFFF;
}

.btn-login {
    width: 93%;
    height: 44px;
    border: none;
    border-radius: 6px;
    background-color: #6F9FC9;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s ease;
    margin-left: 20px; 
    margin-right: 40px;
}

.btn-login:hover {
    background-color: #5D8FBA;
}

.forgot {
    display: block;
    text-align: left;
    margin-top: 22px;
    font-size: 14px;
    color: #3C3C3C;
    text-decoration: underline;
    margin-left: 20px;
}

/* =========================
   PANEL DERECHO / OVERLAY
========================= */
.city-overlay {
    position: absolute;
    bottom: 90px;
    right: 290px;
    text-align: bottom;
}

.city-overlay h2 {
    font-family: 'Kalnia', serif;
    font-size: 80px;
    font-weight: 900;
    color: rgba(90, 90, 90, 0.75);
    letter-spacing: 1px;
}

.city-overlay p {
    font-size: 20px;
    color: #4E4E4E;
    margin-top: -15px;
}

/* =========================
   RESPONSIVE
========================= */

/* Large Tablets (≤1280px) */
@media (max-width: 1920px) {
    .panel-left { width: 50%; }
    .content { width: 600px; margin-left: 40px; }
    .brand { font-size: 150px; }
    .brand-sub { font-size: 56px; margin-bottom: 140px; }
    .city-overlay h2 { font-size: 70px; }
    .city-overlay p { font-size: 18px; }
}

/* Tablets (≤1200px) */
@media (max-width: 1280px) {
    .layout { flex-direction: column; }
    .panel-left { width: 100%; height: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
    .content { width: 90%; margin: 40px auto; text-align: center; }
    .brand { font-size: 120px; margin-bottom: -20px; text-align: center; }
    .brand-sub { font-size: 48px; margin-bottom: 80px; text-align: center; }
    .form { width: 100%; }
    .btn-login { width: 100%; margin: 0; }
    .forgot { margin-left: 0; text-align: center; }
    .city-overlay { position: static; margin: 40px auto; text-align: center; }
    .city-overlay h2 { font-size: 60px; }
    .city-overlay p { font-size: 18px; }
}

/* Móviles (≤600px) */
@media (max-width: 600px) {
    .brand { font-size: 72px; }
    .brand-sub { font-size: 32px; margin-bottom: 40px; }
    .city-overlay h2 { font-size: 40px; }
    .city-overlay p { font-size: 16px; }
    input, .btn-login { height: 40px; font-size: 14px; }
}

/* Extra Small Mobile (≤400px) */
@media (max-width: 400px) {
    .brand { font-size: 56px; }
    .brand-sub { font-size: 26px; margin-bottom: 30px; }
    .city-overlay h2 { font-size: 32px; }
    .city-overlay p { font-size: 14px; }
    input, .btn-login { height: 36px; font-size: 13px; }
}