/* User personal center, iterative new style specifications, including: labels, buttons, form inputs, page titles, font colors and other styles */
/* After the remaining pages of the personal center are iterated, you need to clean up the User-related css styles. */

/* New style for buttons */
.large-btn,
.common-btn {
    cursor: pointer;
    border-radius: 4px;
    margin-right: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-btn {
    width: 104px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.common-btn {
    padding: 9px 14px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    font-weight: 400;
    width: fit-content;
}

.not-allowed-btn {
    cursor: not-allowed;
    color: #fff;
    background: #999;
}

.primary-btn {
    background: #4580FF;
    color: #fff;
    border: none;
}

.danger-btn {
    background: #EF4629;
    border: none;
    color: #fff;
}

.primary-btn:hover,
.danger-btn:hover {
    opacity: 0.7;
}

.plain-info-btn,
.plain-hover-danger-btn {
    background: #fff;
    border: 1px solid #666;
    color: #666;
}

.plain-danger-btn,
.plain-hover-danger-btn:hover {
    border: 1px solid #EF4629;
    color: #EF4629;
    background: #fff;
}

.plain-danger-btn:hover {
    color: #fff;
    background: #EF4629;
}

.plain-info-btn:hover {
    background: #F0F0F0;
}

.plain-primary-btn {
    background: #fff;
    border: 1px solid #4580FF;
    color: #4580FF;
}

.plain-primary-btn:hover {
    background: #EDF2FE;
}

/* font-color */
.fc-red {
    color: #FF522F;
}

.fc-gray-333 {
    color: #333;
}

.fc-gray-666 {
    color: #666;
}

.fc-gray-999 {
    color: #999;
}

.user-center .content-wrapper {
    flex: 1;
    width: 100%;
}

/* top message tip */
.user-center .top-tips {
    width: 100%;
    height: 64px;
    font-size: 16px;
    font-weight: 600;
    color: #ee794c;
    background: #fff8e3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 40px;
    margin-bottom: 20px;
}

/* table style */
.user-center-new-table-style {
    width: 100%;
    background-color: #fff;
}

.user-center-new-table-style th {
    height: 40px;
    color: #b3b3b3;
    font-weight: 400;
    padding: 10px;
}

.user-center-new-table-empty-style td {
    text-align: center;
}

.user-center-new-table-style tbody tr {
    height: 64px;
}

.user-center-new-table-style tbody td {
    padding: 8px 10px;
}

.user-center-new-table-style tr {
    border-bottom: 1px solid #eeeeef;
}

.user-center-new-table-style tbody tr:last-of-type {
    border-bottom: none;
}

/* tag */
.tag-style {
    font-size: 12px;
    display: inline-block;
    border-radius: 20px;
    padding: 6px 10px;
    height: 24px;
    line-height: 24px;
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

.user-center .user-right-content-container {
    flex: 1;
    height: 100%;
    display: inline-block;
    overflow-y: auto;
}

.user-center .user-right-content {
    width: calc(100% - 30px);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-center .user-content-title {
    font-weight: 600;
    font-size: 20px;
    margin: 44px 0 32px 0;
    color: #333;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

/* title */
.user-center .user-content-title .grade-title .first-level-title {
    color: #999;
    cursor: pointer;
}

/* bottom copyright */
.user-center .user-right-content-container .statement-div {
    position: relative;
    left: 0;
}

/* bottom function bar */
.user-center .func-btns-container {
    display: none;
    width: 82%;
    height: 79px;
    padding: 19px 64px;
    position: fixed;
    bottom: 0;
    right: 0;
    border-top: 1px solid #EEEEED;
    border-left: 1px solid #EEEEED;
    background: #fff;
    display: flex;
    align-items: center;
}

.func-btns-container .func-text-container {
    display: flex;
    align-items: baseline;
}

/* white background card*/
.user-center .common-card {
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
}

/* common-style is at the same level as user-center. You can use common styles such as input boxes and text fields by adding them. */
.user-center.common-style input[type="text"],
.user-center.common-style textarea {
    width: 100%;
    display: inline-block;
    height: 32px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #606266;
    background-color: #fff;
    background-image: none;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    box-sizing: border-box;
    outline: none;
}

.user-center.common-style textarea {
    min-height: 40px;
}

.user-center.common-style input[type="text"]:focus {
    border: 1px solid #4580FF;
}

.user-center.common-style textarea {
    height: 100px;
    resize: vertical;
}

.user-center.common-style textarea:focus {
    outline: none;
    border-color: #4580FF;
}

.user-center.common-style input[type="radio"],
.user-center.common-style input[type="checkbox"] {
	margin-right: 5px;
}

.user-center.common-style .radio-container,
.user-center.common-style .checkbox-container {
	margin-right: 10px;
    display: flex;
    align-items: baseline;
}

.user-center.common-style .form-item-tip {
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    line-height: 32px;
    margin-left: 10px;
}

.user-center.common-style #upload-container {
    position: relative;
    min-width: 84px;
    width: 84px;
    height: 32px;
    border: 1px solid #4580FF;
    background: #FFFFFF;
    color: #4580FF;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.user-center.common-style .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.user-center.common-style .click-upload {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 14px;
    pointer-events: none;
}

.user-center.common-style #uploaded-files {
    list-style: none;
    padding: 15px 0;
    width: 80%;
}

.user-center.common-style .upload-content {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.user-center.common-style .uploaded-file {
    background-color: #FFFFFF;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

.user-center.common-style .uploaded-file:hover {
    color: #4580FF;
    background-color: #F5F7FA;
}

.user-center.common-style .uploaded-file:hover .file-name{
    color: #4580FF;
}

.user-center.common-style .file-name {
    flex-grow: 1;
    margin-right: 10px;
    color: #666666;
    word-break: break-all;
}

.user-center.common-style .remove-file {
    color: #67c23a;
    cursor: pointer;
}

.user-center.common-style .upload-tip {
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    line-height: 32px;
    margin-left: 10px;
}

form.common-form .form-item {
    display: flex;
}

/* Form items that do not require validation also need to have the same distance at the bottom. */
form.common-form .form-item.no-check {
    margin-bottom: 30px;
}

form.common-form label.form-item-label {
	color: #333;
	display: inline-block;
	line-height: 32px;
	vertical-align: top;
	cursor: hand;
	width: 100px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
	text-align: right;
    flex: 0 0 auto;
}

form.common-form fieldset fieldset {
	background: none;
    padding: 5px 10px 7px;
}

form.common-form .form-item-value-container {
    width: 80%;
    position: relative;
    display: flex;
}

.error-tip {
    height: 20px;
	margin: 5px 0 5px 100px;
}

/*Table single line ellipsis*/
td.single-line-ellipsis>div {
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

/*Table double row ellipsis*/
td.two-line-ellipsis>div {
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    margin-right: 8px;
    position: absolute;
    top: 10px;
    left: 9px;
}

@media screen and (max-width: 820px) {
    .user-center .user-right-content {
        width: calc(100% - 60px);
    }

    .user-center .user-info-container {
        padding: 0;
    }

    .user-center .func-btns-container {
        left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .func-text-container {
        flex-direction: column;
    }

    .user-center .func-btns-container {
        justify-content: space-between;
        padding: 0 52px 0 64px;
    }

    .user-center .user-right-content {
        width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .user-center .user-content-title {
        margin: 20px 0;
    }

    .user-center .user-right-content-container .statement-div {
        padding-left: 0;
    }
}

@media screen and (max-width: 570px) {
    .user-center .func-btns-container {
        padding: 0 0 0 12px;
    }
}