/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #2980b9, #bbdefb,#007bff); /* 渐变背景 */
    background-size: 100%;
    background-attachment: fixed;
    color: #333;
    padding: 0;
    margin: 0;
}

/* Header styles */
header {
    background-color: #3498db; /* Blue */
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    animation: fadeInDown 0.5s ease-in-out;
}

header h1 {
    font-size: 2.0rem;
    margin: 0;

}

/* Container styles */
.container {
    max-width: 480px; /* Max width for mobile */
    margin: 0 auto;
    padding: 50px;

}

/* Login form styles */
.login-container {

    padding: 25px;
    border-radius: 12px;
    
    box-shadow: 0 0 5px #cccccc;
    text-align: center;
}

.login-container h2 {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 20px;

}

/* Input and Button styles */
input[type="text"],
input[type="password"] {
    width: 80%;
    padding: 10px;
    padding-left: 30px;
    font-size: 1.1rem;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;

}
.container span
{
    position: relative;
}

.userimg-contianer
{
    position: absolute;
    width: 25px;
    left: 6px;
    top: -1px;
}
.lockimg-contianer
{
    position: absolute;
    width: 24px;
    left: 6px;
    top: -1px;
}
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;

}

.login-container button {
    width:80%;
    padding: 15px;
    background-color: #3498db; /* Blue */
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    align-items: center;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9; /* Darker blue */
}
/* login css................................................ */
/* User page styles .........................................*/
.user-container {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("img/back-img.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.user-container h1 {
    text-align: center;

}

.user-container p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}
.user-container hr
{
    border: 0px solid  #3498db;

}
.userinfo-container
{
    position: absolute;
    width: 80px;
    top: 100px;
    right: 250px;

}
.star-container
{
    position: relative;
    width: 25px;
    top: -40px;
    left: 70px;

}
.user-info
{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.user-id-level
{
    background-color: white;
    height: 90px;
    border: 3px solid  #3498db;
    border-radius: 2px;
    background-image: url(img/textback1-img.png);


}

.user-performance
{

    height: 350px;
    background-color: white;
    border: 3px solid  #3498db;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: url(img/textback1-img.png);
}

.container-mt-5 .button-pri
{
    position: absolute;
    top: 440px;
    left: 80px;
    width:60%;
    padding: 15px;
    background-color: #3498db; /* Blue */
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    align-items: center;
    transition: background-color 0.3s ease;
    opacity: 0.8;
}


/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
}
footer p {
    font-size: 0.9rem;
}

footer a {
    text-decoration: none; /* 去掉下划线 */
    color: white; /* 文字颜色保持白色 */
}

footer a:hover {
    color: #FFD700; /* 鼠标悬停时变为金色，增强可读性 */
}

.performance-title-container
{
    position: absolute;
    top: 200px;
    height: 10px;
    background-color:#ffffff;
    left: 78px;
    align: left;
}
.ring
{
    position: relative;
    right:14px;
    border-radius: 50%;
    width: 160px;
    height: 150px;
    background-color: #00c0c0;
    z-index: 0;
    bottom:  10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.pointtable-container
{
    position: absolute;
    width: auto;
    top: 230px;
    left: 200px;
    text-align: left;
    width: 120px;
    height: 150px;
    overflow: auto;
    border-radius: 5px;
    color: #2fb6ff;
    padding: 15px;
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
/* //usertable...................................... */
.myusers-table {
    width: 80%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 10px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.myusers-table thead tr {
    background-color: #03a7ff;
    color: #ffffff;
    text-align: left;
}

.myusers-table th,
.myusers-table td {
    padding: 10px 10px;
}

.myusers-table tbody tr {
    border-bottom: 1px solid #009879;
}

.myusers-table tbody tr:nth-of-type(even) {
    background-color: #b8e3e0;
}

.myusers-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.myusers-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.myusers-table
{	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    background-color: #d7ecff;
    border-radius: 5px;
    width: 100%;
    border-color: black

}

/* usertable........................................... */
/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }

    .login-container h2 {
        font-size: 1.6rem;
    }

    .user-container h2 {
        font-size: 1.6rem;
    }

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container button {
        font-size: 1rem;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.input-group-text
{
    position: relative;
    background-color: #3498db;
    align-items: center;
    height: 49px;
    top: 10px;
    border-radius: 15px;
    border: solid 1px #007bff;
}
.refereeusers-table {
    width: 80%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 10px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.refereeusers-table  thead tr {
    background-color: #03a7ff;
    color: #ffffff;
    text-align: left;

}

.refereeusers-table th,
.refereeusers-table  td {
    padding: 10px 10px;
}

.refereeusers-table  tbody tr {
    border-bottom: 1px solid #009879;
}

.refereeusers-table  tbody tr:nth-of-type(even) {
    background-color: #b8e3e0;
}

.refereeusers-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.refereeusers-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.refereeusers-table
{	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    background-color: #d7ecff;
    border-radius: 5px;
    width: 100%;
    border-color: black
}
.referee-h3
{
    text-align: center;
    background: linear-gradient(135deg,  #bbdefb,#dddddd,#2980b9);
    border: #bbdefb solid 2px;
    border-radius: 15px;
    font-size: 30px;
}
.referee-container
{

    height: 150%;
    border: 1px solid  #3498db;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.usercard
{
    background: linear-gradient(135deg,  #007bff,#3498db);
    width: 120px;
    border-radius: 10px;
    text-align: center;
}
.ballcontianer
{
    position: relative;
    margin: auto;
    width: 200px;
    height: 200px;
    background: #007bff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.5s ease-in-out;

}
.valuecontianer
{
    position: relative;
    width: 180px;
    height: 180px;
    background: #ffffff;
    border-radius: 50%;
    text-align: center;
    left: 10px;
    top: 10px;
    animation: fadeInDown 0.5s ease-in-out;
}
.thismonth
{
  position: relative;
    width: 180px;
    height: 60px;

    margin: auto;
    border-radius: 10px;
    text-align: center;
}
/* styles.css */
#toggleButton {

    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    margin: auto;
}
#toggleButton2 {

    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    margin: auto;
}

#content {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#content2 {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.pattern-container {
    display: flex;
    justify-content: space-between; /* 确保图案之间有等间距 */
    align-items: center;
    width: 50%; /* 根据需要调整宽度 */
    max-width: 1500px; /* 最大宽度 */
}

.pattern-item {
    position: relative;
    left: 70px;
    top: -43px;
    width: 25px; /* 每个图案的宽度 */
    height: 25px;
    background-image: url("./img/newstar.png");
    background-size:80% auto;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}




