body {
    margin: 5%;
    background-color: #F6F7FA;
    font-family: Arial, sans-serif;
}

/* Responsive container */
.container {
    width: 90%;
    max-width: 450px; /* Prevents excessive width on large screens */
    background-color: white;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 8px;
    margin: 20px auto; /* Centers the container */
    padding: 15px;
    box-shadow: 0 3px 5px 0 rgba(240, 240, 240, 0.3);
    animation: transitionIn-Y-over 0.5s;
}

/* Table alignment */
td {
    text-align: center;
}

/* Header Styling */
.header-text {
    font-weight: 600;
    font-size: 26px; /* Adjusted for mobile readability */
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-align: center;
}

.sub-text {
    font-size: 14px;
    color: rgb(138, 138, 138);
    text-align: center;
}

/* Labels */
.form-label {
    color: rgb(44, 44, 44);
    text-align: left;
    font-size: 14px;
}

.label-td {
    text-align: left;
    padding-top: 10px;
}

/* Links */
.hover-link1 {
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.hover-link1:hover {
    opacity: 0.8;
    transition: 0.3s ease-in-out;
}

/* Button Styling */
.login-btn {
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 10px;
    }
    
    .header-text {
        font-size: 22px;
    }
    
    .sub-text {
        font-size: 13px;
    }
    
    .login-btn {
        font-size: 14px;
        padding: 10px;
    }
}