.main_container {
    min-height: 50vh;
    max-width: 45rem;
    margin: 10rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_container .s2title {
    font-size: 2rem;
    color: #010000;
}

.user_setting_area {
    width: 100%;
    margin-top: 5rem;
}

.user_setting_area {
    padding: 2rem 0;
    max-width: 80rem;
    margin: 0 auto;
    width: 90%;
}

.user-info-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.user-info-card {
    background: #fff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 60rem;
}

.user-avatar-section {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.avatar-upload {
    position: relative;
    margin-right: 2rem;
    cursor: pointer;
}

.user-avatar2 {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-upload:hover .avatar-overlay {
    opacity: 1;
}

.user-basic-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-basic-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    color: #333;
}

.user-id {
    margin: 0;
    font-size: 1.2rem;
    color: #666;
}

.user-details-form {
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    text-align: left;
}

.input-with-button {
    display: flex;
    align-items: center;
}

.form-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2656E7;
    box-shadow: 0 0 0 2px rgba(38, 86, 231, 0.2);
}

.verification-btn {
    margin-left: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(90deg, #4D75EF 0%, #2656E7 100%);
    color: white;
    border: none;
    border-radius: 0.3rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-btn:hover {
    background: linear-gradient(90deg, #2656E7 0%, #1a45c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 86, 231, 0.3);
}

.verification-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.save-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #4D75EF 0%, #2656E7 100%);
    color: white;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-button:hover {
    background: linear-gradient(90deg, #2656E7 0%, #1a45c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 86, 231, 0.4);
}

.save-button:active {
    transform: translateY(0);
}

/* Tabs切换样式 */
.tab_switch_user {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -1px;
}

.tab-btn.active {
    color: #2656E7;
    border-bottom: 3px solid #2656E7;
}

.tab-btn:hover {
    color: #2656E7;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 邮箱验证字段样式调整 */
.input-with-button {
    display: flex;
    align-items: center;
}

/* 消息通知页面样式 */
.notifications-container {
    width: 100%;
    max-width: 80rem;
    margin: 2rem auto 0;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.notification-filters {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 2rem;
}

.filter-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -1px;
}

.filter-btn.active {
    color: #2656E7;
}

.filter-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #2656E7;
}

.filter-btn:hover {
    color: #2656E7;
}

.notifications-list {
    padding: 0 2rem;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item[data-read="false"] {
    background-color: #f8f9ff;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.notification-type {
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.notification-type.system {
    background: #e6f7ff;
    color: #1890ff;
}

.notification-type.activity {
    background: #f9f0ff;
    color: #722ed1;
}

.notification-time {
    font-size: 1rem;
    color: #999;
}

.notification-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.notification-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.notification-actions {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.mark-read-btn {
    padding: 0.5rem 1.2rem;
    background: #2656E7;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mark-read-btn:hover {
    background: #1a45c7;
}

.read-status {
    font-size: 1rem;
    color: #999;
    padding: 0.5rem 1.2rem;
}

.notifications-empty {
    text-align: center;
    padding: 4rem 0;
    color: #999;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .user_setting_area {
        width: 95%;
        padding: 1rem 0;
    }

    .user-info-card {
        padding: 2rem 1.5rem;
    }

    .user-avatar-section {
        flex-direction: column;
        text-align: center;
    }

    .avatar-upload {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .input-with-button {
        flex-direction: column;
    }

    .verification-btn {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
}