*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

header{
    width: 65%;
}

header img{
    width: 100px;
    margin-left: 40px;
    margin-top: 40px;
}

main{
    width: 65%;
}

.content-form{
    width: 100%;
    max-width: 100%;
    margin: auto;
    opacity: 0;
    background: transparent;
    padding: 0;
    -webkit-transition: all 1000ms;
    transition: all 1000ms;
    position: relative;
}

/* Iconos posicionados en el content-form */
.content-form::before {
    content: '\f007';
    font-family: FontAwesome;
    position: absolute;
    left: 12px;
    top: 14px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    z-index: 10;
}

.content-form::after {
    content: '\f023';
    font-family: FontAwesome;
    position: absolute;
    left: 12px;
    top: 94px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    z-index: 10;
}

.content-form h1{
    text-align: center;
    font-size: 60px;
}

.content-form h4{
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
}

.content-form h4 a{
    color: #205081;
}

.content-form form{
    width: 100%;
    max-width: 400px;
    margin: auto;
    margin-top: 10px;
    position: relative;
}

/*Email*/

.content-form .lbl-email{
    position: absolute;
    margin-top: 12px;
    margin-left: 40px;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.content-form #input-username{
    width: 100%;
    padding: 12px 10px 12px 40px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    outline: 0px;
    font-size: 14px;
    background: #f5f7fa;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.content-form #input-username::placeholder {
    color: transparent;
}

.content-form #input-username:focus{
    border-color: #205081;
    background: #ffffff;
}

.content-form #input-username:focus + .lbl-email,
.content-form #input-username:not(:placeholder-shown) + .lbl-email {
    margin-top: -20px;
    margin-left: 10px;
    font-size: 12px;
    color: #205081;
}

.content-form .lbl-email::before {
    display: none;
}

.content-form #input-username:focus ~ .lbl-email::before {
    color: #205081;
}

/*Contraseña*/

.content-form .lbl-clave{
    display: block;
    position: absolute;
    margin-top: 52px;
    margin-left: 40px;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.content-form #input-password{
    width: 100%;
    padding: 12px 10px 12px 40px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    outline: 0px;
    margin-top: 40px;
    font-size: 14px;
    background: #f5f7fa;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.content-form #input-password::placeholder {
    color: transparent;
}

.content-form #input-password:focus{
    border-color: #205081;
    background: #ffffff;
}

.content-form #input-password:focus + .lbl-clave,
.content-form #input-password:not(:placeholder-shown) + .lbl-clave {
    margin-top: 20px;
    margin-left: 10px;
    font-size: 12px;
    color: #205081;
}

.content-form .lbl-clave::before {
    display: none;
}

.content-form #input-password:focus ~ .lbl-clave::before {
    color: #205081;
}

/* Radio buttons */
.content-form .form-check {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.content-form .form-check-input {
    margin: 0 6px 0 0;
    cursor: pointer;
    accent-color: #205081;
    vertical-align: middle;
}

.content-form .form-check-label {
    cursor: pointer;
    font-size: 13px;
    color: #555;
    margin: 0;
    vertical-align: middle;
    line-height: 1;
}

/* Botones */
.botones_login {
    margin-top: 25px;
}

.botones_login .btn {
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    text-transform: none;
}

.botones_login .btn-primary {
    background: linear-gradient(135deg, #205081 0%, #2c6ba8 100%);
    box-shadow: 0 4px 15px rgba(32, 80, 129, 0.3);
}

.botones_login .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 80, 129, 0.4);
    background: linear-gradient(135deg, #1a4166 0%, #205081 100%);
}

.botones_login .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.botones_login .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

/* Link olvidé contraseña */
.content-form .help-block a {
    color: #205081;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-form .help-block a:hover {
    color: #1a4166;
    text-decoration: underline;
}

/* HR */
.content-form hr {
    border: 0;
    height: 1px;
    background: #e2e2e2;
    margin: 25px 0;
}

/* Mejoras para el logo */
#img_card_session {
    max-width: 180px;
    margin-bottom: 5px;
}

/* Contenedor principal del login */
.col-lg-4 {
    min-height: 100vh;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-form {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-form {
        padding: 0;
        max-width: 100%;
    }
    
    .content-form form {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .botones_login .btn {
        font-size: 14px;
        padding: 10px 25px;
    }
}