body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
}

.reset-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1600px;
    padding: 50px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.reset-section {
    background-color: #fff;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.reset-box {
    width: 100%;
    max-width: 450px;
}

.reset-header {
    margin-bottom: 30px;
    text-align: left;
}

.reset-header h3 {
    font-size: 2rem;
    margin: 0;
    color: rgb(22, 22, 22);
    font-family: Montserrat;
    font-weight: 400;
    line-height: 2.4rem;
}

.reset-decorative-bar {
    display: inline-block;
    width: 10px;
    height: 30px;
    background-color: black;
    margin-right: 10px;
}

.reset-header p {
    color: rgb(156, 156, 156);
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: left;
    margin-top: 10px;
}

form {
    width: 100%;
    text-align: left;
}

.reset-input-group {
    margin-bottom: 15px;
    /* width: calc(100% - 20px); */
}

.reset-input-group span {
    color: red;
}

.reset-input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.reset-input-group input {
    padding: 15px 0px;
    font-size: 1rem;
    width: calc(70% - 20px);
    border: none;
    background: rgb(240, 240, 240);
}

.reset-button {
    padding: 15px 0;
    font-size: 1.2rem;
    margin-top: 10px;
    width: 70%;
    color: white;
    border: none;
    cursor: pointer;
    background: black;
    width: calc(70% - 20px);
}

.reset-image-section {
    flex: 1;
    display: block;
}

.reset-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}
@media (max-width: 1024px) {
    .reset-box{
    width: 100%;
    max-width: 400px;
    }
    .reset-input-group input,.reset-button{
     width: calc(100% - 20px);
    }


}
@media (max-width: 768px) {
    .reset-section {
        /* max-width: 100%; */
        flex: 1;
        padding: 20px;
    }
    .reset-header h3 {
        font-size: 20px;
    }

    .reset-input-group label {
        font-size: 14px;
    }

    .reset-input-group input {
        font-size: 14px;
        padding: 15px 10px;
        width: calc(100% - 20px);
    }

    .reset-button {
        font-size: 16px;
        padding: 15px 0;
        width: calc(100% - 20px);
    }
}

@media (max-width: 820px) {
    .reset-input-group input{
    border: none;
    padding: 15px 0px;
    font-size: 1rem;
    width: calc(100% - 20px);
    background: rgb(240, 240, 240);
    }
    .reset-button {
    width: calc(100% - 20px);
    }
}

@media (max-width: 767px) {
    .reset-container {
        padding: 10px;
        box-shadow: none;
    }

    .reset-image-section {
        display: none;
    }

    .reset-input-group input {
        font-size: 12px;
        padding: 15px 0px;
        width: calc(100% - 20px);
    }

    .reset-button {
        font-size: 14px;
        padding: 20px;
        width: calc(100% - 20px);
    }

}

/* 手机设备 */
@media (max-width: 480px) {
    .reset-container {
        padding: 10px;
        box-shadow: none;
    }

    .reset-input-group input {
        font-size: 12px;
        padding: 10px 0px;
        width: calc(100% - 20px);
    }

    .reset-button {
        font-size: 14px;
        padding: 10px 0;
        width: calc(100% - 20px);
    }

    .reset-header h3 {
        font-size: 1.3rem;
    }

    .reset-image-section {
        display: none;
    }

    .reset-image-section img {
        height: 200px;
        object-fit: contain;
        display: none;
    }
}


/* 404 */
.error-container {
    display: flex;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
}

.error-text-section {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.error-title {
    font-size: 3em;
    color: #333;
    margin: 0;
    color: rgb(136, 136, 136);
    font-family: Montserrat;
    font-size: 84px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
}

.error-subtitle {
    color: rgb(136, 136, 136);
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: center;
    margin-bottom: 30px !important;
    padding: 0;
    margin: 0;
}

.error-button {
    padding: 30px 100px;
    font-size: 1em;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 100px;  
    background: rgb(51, 51, 51);
}

.error-button:hover {
    background-color: #555;
}

.error-image-section {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.error-image-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* 平板和小型笔记本 - 布局调整 */
@media (max-width: 768px) {
    .error-container {
        flex-direction: column;
        padding: 10px;
    }

    .error-title {
        font-size: 60px; /* 调整标题大小 */
    }

    .error-subtitle {
        font-size: 24px; /* 调整副标题大小 */
    }

    .error-button {
        padding: 20px 50px; /* 缩小按钮大小 */
        font-size: 0.9em; /* 调整按钮字体大小 */
    }

    .error-image-section {
        margin-top: 20px; /* 添加上外边距 */
    }
}

/* 移动设备 - 更紧凑的布局 */
@media (max-width: 480px) {
    .error-title {
        font-size: 48px; /* 进一步缩小标题 */
    }

    .error-subtitle {
        font-size: 18px; /* 进一步缩小副标题 */
    }

    .error-button {
        padding: 15px 30px; /* 再次缩小按钮大小 */
        font-size: 0.8em; /* 调整按钮字体大小 */
    }

    .error-image-section img {
        max-width: 300px; /* 缩小图片 */
    }
}