/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* General settings */
body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Center the main content */
.mainbody {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Hide logo and header */
#logo, #header {
    display: none;
}

/* Login box */
#loginbox {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 6px;
    max-width: 400px;
    margin: 50px auto 30px auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#loginbox b {
    display: block;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333333;
    text-align: center;
}

#loginbox table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

#loginbox table td {
    padding: 10px 5px;
    vertical-align: middle;
}

#loginbox label {
    font-weight: bold;
    color: #333333;
}

#loginbox input[type="text"],
#loginbox input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #7fb3b3;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
}

#loginbox input[type="text"]:focus,
#loginbox input[type="password"]:focus {
    border-color: #5b7d8e;
    outline: none;
    box-shadow: 0 0 5px rgba(91, 125, 142, 0.2);
}

#loginbox input[type="submit"] {
    background: linear-gradient(135deg, #9ec5c5, #7fb3b3);
    color: #333;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s ease;
}

#loginbox input[type="submit"]:hover {
    background: linear-gradient(135deg, #8dbaba, #6ea6a6);
}

#loginbox .textright {
    text-align: right;
    margin-top: 10px;
}

#loginbox .textright a {
    color: #5b7d8e;
    text-decoration: none;
    font-size: 14px;
}

#loginbox .textright a:hover {
    color: #7fb3b3;
    text-decoration: underline;
}

/* Text content */
.text {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text p {
    margin-bottom: 15px;
}

.text p.textright {
    text-align: right;
    font-size: 14px;
    color: #888;
}

.text a {
    color: #5b7d8e;
    text-decoration: none;
}

.text a:hover {
    color: #7fb3b3;
    text-decoration: underline;
}

/* Footer text */
.text p.textright {
    margin-top: 40px;
    color: #aaa;
}

/* Clear floats */
.clear {
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: flex-start;
    }
    #header .floatright {
        margin: 10px 0;
    }
    #loginbox {
        padding: 20px;
    }
    #loginbox input[type="submit"] {
        font-size: 14px;
    }
}

/* Hide unnecessary elements */
.headerwrapper,
ul#navlist {
    display: none;
}

/* Remove borders and colors from all tables */
table {
    border: none !important;
    background: transparent !important;
}

table tr,
table td,
table th {
    border: none !important;
    background: transparent !important;
}

table th {
    font-weight: bold !important;
}

/* Preserve table layout and spacing */
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table td,
table th {
    padding: 8px !important;
}