﻿/* site.css - PsycoSmart basic styles */
body {
    font-family: Helvetica, Arial, sans-serif;
    background: linear-gradient(90deg, #f4fff7, #ffffff);
    color: #0b6b43;
    margin: 0;
    padding: 0;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid rgba(12,120,78,0.08);
    text-align: center;
}

.logo-circle {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #00a86b;
    color: #fff;
    font-size: 28px;
}

.login-card h2 {
    margin: 6px 0;
}

.login-card .subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: rgba(6,90,58,0.85);
}

.form-group {
    text-align: left;
    margin-bottom: 12px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,160,107,0.15);
    box-sizing: border-box;
    background: #f6fff8;
    color: #004d33;
}

.btn-primary {
    display: inline-block;
    background: #008a58;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}

.no-account {
    margin-top: 12px;
    font-size: 16px;
    color: #009966;
}

/* LOGO + TÍTULO */
.auth-logo-container {
    text-align: center;
    margin-top: 40px;
}

.auth-logo {
    width: 60px;
    margin-bottom: 10px;
}

.auth-app-title {
    font-size: 22px;
    font-weight: 600;
    color: #009e67;
}

.auth-app-subtitle {
    font-size: 14px;
    color: #5d5d5d;
}

/* CARD */
.auth-card {
    max-width: 420px;
    margin: 30px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.12);
    border: 1px solid #e9e9e9;
}

/* TÍTULOS */
.auth-title {
    text-align: center;
    font-size: 24px;
    color: #0c9d63;
    font-weight: 600;
}

.auth-subtitle {
    text-align: center;
    margin-bottom: 25px;
    color: #4e4e4e;
}

/* INPUTS */
.auth-input-group {
    position: relative;
    margin-bottom: 18px;
}

.auth-input {
    width: 100%;
    height: 45px;
    border: 1px solid #bde8d2;
    border-radius: 8px;
    padding-left: 40px;
}

.auth-input-icon {
    position: absolute;
    top: 13px;
    left: 12px;
    color: #00a56e;
}

.auth-hint {
    font-size: 12px;
    color: #555;
}

/* INFO BOX */
.auth-info-box {
    margin-top: 18px;
    background: #ecfff5;
    border-left: 4px solid #18b56a;
    padding: 12px 15px;
    border-radius: 8px;
}

.auth-info-icon {
    color: #18b56a;
    margin-right: 5px;
}

/* BOTÓN */
.auth-btn {
    width: 100%;
    background: #00b06b;
    color: white;
    border: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

    .auth-btn:hover {
        background: #009059;
    }

/* FOOTER */
.auth-footer {
    text-align: center;
    margin-top: 15px;
}

    .auth-footer a {
        color: #009c63;
        font-weight: 600;
        text-decoration: none;
    }

/* Estilo del enlace “Regístrate” igual al de la imagen */
.register-link {
    color: #009966;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

    .register-link:hover {
        text-decoration: none;
        color: #007A55;
    }

.login-header {
    text-align: center;
}

p.subtitle {
    margin: 0px 0px 10px;
    font-size: 16px;
}

h2.title-login {
    margin: 10px 0px 5px;
    font-size: 16px;
    font-weight: 500;
}

.logo-circle svg {
    width: 32px;
    height: 32px;
    position: relative;
    top: 5px;
}

h3.title-card {
    text-align: left;
    margin: 0px;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
}

p.help {
    margin: 5px 0px 15px;
    text-align: left;
    color: #10b981;
    font-size: 1rem;
}

label {
    color: #000;
    font-size: 14px;
    line-height: 26px;
}

.btn-primary:hover {
    background-color: #007A55;
}

.form-control:focus-visible {
    border-color: #87DCBF !important;
}

.form-control:focus,
.form-control:focus-visible {
    border-color: #87DCBF; 
    box-shadow: 0 0 4px rgba(40, 199, 111, 0.5); 
    outline: none; 
}

.alert-box {
    background: #ffe5e5;
    border: 1px solid #ffb4b4;
    padding: 15px;
    border-radius: 8px;
    color: #c30000;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
}

    /* Ícono rojo */
    .alert-box::before {
        content: "⚠";
        color: #c30000;
        font-size: 18px;
        margin-right: 8px;
    }
