/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


body {
    background-color:  rgb(206, 209, 214);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ===== Contenedor general ===== */
.auth-container {
    display: flex;
    width: 900px;
    height: 550px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Panel izquierdo ===== */
.auth-image {
    flex: 1;
    background: linear-gradient(135deg, rgb(62, 166, 225), #212529);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

.auth-image img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Círculos decorativos */
.auth-image::before,
.auth-image::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}
.auth-image::before {
    width: 200px;
    height: 200px;
    bottom: 30px;
    right: 30px;
}
.auth-image::after {
    width: 100px;
    height: 100px;
    top: 50px;
    right: 100px;
}

/* ===== Panel derecho ===== */
.auth-form-container {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    font-size: 1.8rem;
    color: #212529;
    margin-bottom: 2rem;
    text-align: center;
}

/* ===== Inputs ===== */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: rgb(24, 85, 131);
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: rgb(62, 166, 225);
    box-shadow: 0 0 5px rgba(62, 166, 225, 0.4);
    outline: none;
}

/* ===== Opciones ===== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
    color: #212529;
}

.forgot-link {
    color: rgb(62, 166, 225);
    text-decoration: none;
}
.forgot-link:hover {
    text-decoration: underline;
}

/* ===== Botón ===== */
.auth-btn {
    width: 100%;
    padding: 12px;
    background-color: rgb(24, 85, 131);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn i {
    margin-left: 8px;
}

.auth-btn:hover {
    background-color: #212529;
}

/* ===== Link de registro ===== */
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 14px;
}

.switch-link {
    color: rgb(62, 166, 225);
    text-decoration: none;
}
.switch-link:hover {
    text-decoration: underline;
}
