/* Estilos Generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html, body {
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

/* Barra Superior Oscura Transparente con Blur */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.header-col {
    width: 33.33%;
    font-size: 15px;
    font-weight: 500;
}

.header-col.left { text-align: left; }
.header-col.center { text-align: center; }
.header-col.right { text-align: right; }

.header-col h1 {
    font-size: 22px;
    font-family: 'Book Antiqua', Georgia, serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Contenedor Principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    padding: 20px;
}

/* Tarjeta Cristalina (Glassmorphism con Blanco) */
.card-container.card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.logo-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

#profile-img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.3));
}

/* Campos de Formulario con Fondo Blanco Nítido */
.form-group {
    margin-bottom: 15px;
}

.form-signin .form-control {
    width: 100%;
    height: 46px;
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-signin .form-control:focus {
    background-color: #ffffff;
    border-color: #2c6496;
    box-shadow: 0 0 0 3px rgba(44, 100, 150, 0.3);
}

/* Botón de Ingreso */
.btn.btn-signin {
    width: 100%;
    height: 48px;
    background-color: #2c6496;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.btn.btn-signin:hover {
    background-color: #1f496e;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.btn.btn-signin:active {
    transform: translateY(0);
}