/* style.css - Identidad Visual SMTMD
    Diseño: Minimalist Elegant Medical (Blanco + Azul Oscuro)
    Autor: Carlos
*/

:root {
    --bg-color: #ffffff;           
    --card-bg: #ffffff;           
    --bg-page: #ffffff;            
    --border-color: #f0f0f0;      
    --text-main: #1a202c;         
    --text-muted: #718096;        
    --accent-blue: #002b5c;       /* Azul Oscuro Elegante */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Fuente optimizada para PC */
    font-size: 19px; 
    -webkit-font-smoothing: antialiased;
}

/* --- CONTENEDOR --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

/* --- NAVEGACIÓN --- */
.top-nav {
    background: #ffffff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    font-weight: 800;
    font-size: 24px;
    color: var(--accent-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand span {
    font-weight: 300;
    color: #cbd5e0;
    margin-left: 2px;
}

/* --- PERFIL --- */
.profile-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.user-nickname {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.avatar-circle {
    width: 44px;
    height: 44px;
    background: #f7fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* --- TARJETAS --- */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    color: var(--accent-blue);
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BOTONES --- */
.btn-primary {
    display: block;
    width: 100%;
    background: var(--accent-blue);
    color: #ffffff;
    padding: 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #001f42;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,43,92,0.2);
}

.btn-outline {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--accent-blue);
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--accent-blue);
    text-align: center;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #f7fafc;
}

/* --- FORMULARIOS --- */
.form-group { margin-bottom: 30px; }
label { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; display: block; }
input { 
    width: 100%; 
    padding: 16px;
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    color: #1a202c; 
    font-size: 17px;
    transition: 0.2s;
}
input:focus { border-color: var(--accent-blue); outline: none; background: #fff; }

/* --- RESPONSIVIDAD --- */
@media (max-width: 768px) {
    body { font-size: 17px; }
    .container { padding: 20px 15px; }
    .card { padding: 25px; border-radius: 8px; }
    .top-nav { padding: 15px 20px; }
    .profile-txt { display: none; }
}