* {
    box-sizing: border-box; /* Ensures padding and borders are included in element's total width and height */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full height of the viewport */
    background-color: #f4f4f4; /* Light gray background */
}

.login-container {
    background-color: white; /* White background for the login box */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 300px; /* Fixed width for the login box */
}

header {
    text-align: center;
    margin-bottom: 20px; /* Space below the header */
}

h1 {
    text-align: center;
    color: #0056b3;
    font-variant:small-caps;
}

.input-group {
    margin-bottom: 15px; /* Space between input fields */
}

label {
    display: block; /* Make label a block element */
    margin-bottom: 5px; /* Space below the label */
}

input[type="text"],
input[type="password"] {
    width: 100%; /* Full width */
    padding: 10px; /* Padding inside the input */
    border: 1px solid #ccc; /* Light gray border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007BFF; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

.button {
    width: 100%; /* Full width */
    padding: 10px; /* Padding inside the button */
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.button-olvido-s {
    margin-top: 15px;
    width: 100%; /* Full width */
    padding: 10px; /* Padding inside the button */
    background-color: #9900ff; /* Blue background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.button-olvido-s:hover {
    background-color: #6200b3; /* Darker blue on hover */
}

#btnValidarTel {
    margin-top: 15px;
    width: 40%; /* width */
    padding: 10px; /* Padding inside the button */
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

#btnValidarTel:hover {
   background-color: #0056b3; /* Darker blue on hover */
}

#enviarMat {
    margin-top: 15px;
    width: 40%; /* width */
    padding: 10px; /* Padding inside the button */
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

#enviarMat:hover {
   background-color: #0056b3; /* Darker blue on hover */
}

/* Fin Modal olvide contraseña */

/* Opciones telefono validacion*/
.opcion-telefono {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    background-color: #f9f9f9;
  }
  
.opcion-telefono input[type="radio"] {
    transform: scale(1.2);
    margin-right: 10px;
  }
  
.opcion-telefono label {
    font-size: 16px;
    flex: 1;
    text-align: left;
    color: #333;
  }

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
}

.toggle-password {
    cursor: pointer;
    margin-left: -30px;
    user-select: none;
}


footer {
    text-align: center;
    margin-top: 20px; /* Space above the footer */
    font-size: 12px; /* Smaller font size for footer */
    color: #666; /* Gray color for footer text */
}
.footer-logo {
    width: 100px; /* Adjust logo size */
    margin-bottom: 0px; /* Space between logo and text */
}
/* Responsive Styles */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column; /* Stack buttons vertically on smaller screens */
    }

    .button {
        font-size: 20px; /* Slightly smaller font size for buttons */
        padding: 15px 30px; /* Adjust padding for smaller screens */
    }

    footer p {
        font-size: 12px; /* Smaller font size for footer text */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 24px; /* Smaller font size for header on very small screens */
    }

    .button {
        font-size: 18px; /* Even smaller font size for buttons */
        padding: 10px 20px; /* Adjust padding for very small screens */
    }

    .footer-logo {
        width: 80px; /* Smaller logo size for very small screens */
    }
}