/* static/styles.css */

/* Reset default margin and padding */
body,
h1,
h2,
h3,
p,
ul,
ol {
    margin: 0;
    padding: 0;

}

body {
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    font-family: "微软雅黑";
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

nav {
    background-color: #fff;
    padding: 10px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    /* Add this line to space the elements */
    align-items: center;
    /* Align vertically in the center */
    font-size: 16px;
    #border-bottom: 1px solid #ccc;
    /* Add this line for the grey line */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;

}

nav ul li {
    display: inline;
    margin-right: 45px;
}

nav a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;

}

.left-elements,
.right-elements {
    list-style: none;
    display: inline-block;
    margin-left: auto;
}

nav .recharge-link a {
    margin-right: 20;
    top: 10px;
    right: 70px;
    /* Adjust the right position as needed */
    padding: 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    background-color: #fff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
}

nav a:hover {
    color: #0083d4;
}

#content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;


}

h1,
h2,
h3 {
    color: #333;
    margin-bottom: 20px;
}

p {
    color: #555;
    line-height: 1.8;
}

/* Additional Styles for Buttons */
.btn {
    display: inline-block;
    padding: 5px 12px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    /* Increase border-radius for a more rounded look */
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    /* Remove border for a cleaner look */
}

.btn-primary {
    color: #fff;
    background-color: #333;
    /* Use matte black as the background color */
}

.btn-primary:hover {
    color: #00bcd4;
    /* Adjust the hover color accordingly */
}

.form-label {
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
}

/* Apply styles to the logout button */
.logout-button {
    position: relative;
    display: inline-block;
    margin-left: 0px;
    /* Adjust margin as necessary */
}

.logout-button button {
    position: relative;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    background-color: #fff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    margin-right: 0
}

.logout-button button:hover {
    color: #0083d4;
}

.user-info {
    display: inline-block;
    text-align: left;
    top: 10px;
    /* Adjust the top position to move it up */
    right: 130px;
    color: #000000 !important;
    /* Set the text color explicitly */
    font-size: 16px;
    padding: 3px;
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 0;
    /* Make it a square */
}

.user-info p {
    color: #000000;
    /* Set the text color to white */
    text-align: right;
}

.user-info p:hover {
    color: #0083d4;
}

nav .auth-links {
    top: 10px;
    /* Adjust the top position as needed */
    right: 1px;
    /* Adjust the right position as needed */
}

nav .auth-links ul {
    list-style: none;
    /* Remove default list styling */
    margin: 0;
    padding: 0;
}

nav .auth-links li {
    display: inline-block;
}

nav .auth-links li a {
    display: block;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    background-color: #292b2c;
    color: #fff;
    border: none;
    border-radius: 5px;

}

/* Add hover effect */
nav .auth-links li a:hover {
    color: #0083d4;
}