body, html {
    margin: 0;
    padding: 0;
    height: 100%; /* Mantiene la compatibilidad */
}

body {
    background-image: url('../img/Fondo.png');
    background-repeat: no-repeat;
    background-size: cover;      /* <--- Ocupa todo el ancho y alto disponible */
    background-position: center; /* <--- Centra la imagen */
    background-attachment: fixed; /* <--- El fondo se queda quieto al hacer scroll */
    min-height: 100vh;           /* <--- Fuerza el 100% del alto de la pantalla */
}

.card-container.card {
    max-width: 500px;
    padding: 3%;
}

.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/*
 * Card component
 */
.card {
    /* 1. Transparencia: usamos rgba (Red, Green, Blue, Alpha) */
    /* 0.85 es un 85% de opacidad. Puedes bajarlo a 0.5 para más transparencia */
    background-color: rgba(247, 247, 247, 0.4); 
    
    /* 2. Bordes redondeados: aumentamos de 2px a algo más visible como 15px */
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;

    /* Mantenemos tu centrado y sombras */
    position: absolute;
    padding: 20px 25px 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    -moz-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    
    /* Opcional: un ligero desenfoque detrás de la tarjeta (Efecto Glassmorphism) */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin select,
.form-signin #inputEmail,
.form-signin #inputPassword,
.form-signin .scFormObjectOdd {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin .scFormObjectOdd,
.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin select,
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    /*background-color: #4d90fe; */
    background-color: rgb(104, 145, 162);
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    background-color: rgb(12, 97, 33);
}

.forgot-password {
    color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus{
    color: rgb(12, 97, 33);
}
/*menu-links-blue*/
button {margin-bottom: 20px;}
.class-links a {
    text-decoration: none;
    color: #6891A2;
    font-family: inherit;
    display: block;
    margin-bottom: 5px;
}
.class-links a:hover,
.class-links a:active,
.class-links a:focus{
    color: #3b8683;
	font-weight: 500;
	text-decoration: underline;
}
/*fim-menu-links-blue*/

/*mensagem*/
#id_error_display_fixed {width: 100%;background: rgba(0, 0, 0, 0.4);height: 100%;;}
table.scFormErrorTable{position:absolute;left: 50%;transform: translate(-50%, -50%);top: 50%;padding: 15px;background-color: #ffffff;box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);opacity:1;width: 250px;height: 100px;}
td.scFormErrorMessage {padding: 25px 0 5px !important;}
td.scFormErrorTitleFont{color: rgba(0, 0, 0, 0);position: relative;top: 8px;}
td.scFormErrorTitleFont img {position: absolute;left: 50%;margin-left: -15px;}
a.scButton_default {position: absolute;right: 15px;top: 15px;}
td.scFormErrorTitleFont img {margin-top: -5px;}
a.scButton_default {font-size: 10px;border: 1px solid #ccc;border-radius: 5px;padding: 2px 5px;text-decoration: none;color: #555;right: 8px;top: 8px;}
/*fim mensagem*/
@media (max-width: 768px) {
.card-container.card {max-width: 350px;padding: 6%;width: 80%;}
}