html {
    font-size: 100px;
    background: #fff;
}

body,
h2,
p {
    margin: 0;
}

/* 小班课 login */
.login-page {
    background: url(../img/login_bg.png) no-repeat;
    background-size: 100% 100%;
    min-height: 6rem;
    position: relative;
    padding-top: 1px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    display: block;
}
.login-page  .login-bg{
    height: 3.2rem;
    margin-top: -1px;
}
.login-page .login-wrap {
    width: 5.2rem;
    background: #fff;
    margin: 0 auto 0;
    border-radius: .2rem;
    padding: .4rem .6rem .6rem;
    overflow: hidden;
    max-width: 7.5rem;
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    position: absolute;
    left: 0%;
    right: 0;
    top: 2rem;
    /* transform: translate(-50%, 0); */
    z-index: 2;
}

.login-page .login-title {
    font-size: .3rem;
    color: #1D2129;
    line-height: .38rem;
    overflow: hidden;
    font-family: "PingFang SC";
    font-weight: 600;
}

.login-page .subtitle {
    color: #1D2129;
    font-family: "PingFang SC";
    font-size: .16rem;
    margin-top: .1rem;
    line-height: .16rem;

}

/* 输入框样式 */
.login-page .login-form {
    margin-top: .4rem;
}

.login-page .login-item {
    height: .5rem;
    position: relative;
    margin: 0px auto .2rem;
    border: 1px solid #EAECED;
    border-radius: .06rem;
    padding: 0 .14rem;
    background: #fff;
    box-sizing: border-box;
}

.login-page .login-item input{
    display: block;
    width: 100%;
    height: .48rem;
    padding: 0;
    border: none;
    background: none;
    outline: none;
    color: #1D2129;
    box-shadow: 0 0 0 .5rem #fff inset;
    font-size: .16rem;
}

.login-page .login-item .clear-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 15px;
    cursor: pointer;
}

.login-page .login-item input::placeholder{
    color: #848493;
}

.login-page .login-item:has(> :focus) {
    border-color: #5972F2;
}
/* .login-page .login-item:has(> :disabled) {
    background: #EAECED;
} */


/* 登录按钮 */
.login-page .login-btn {
    display: block;
    margin: .6rem auto 0;
    font-size: .16rem;
    color: #fff;
    user-select: none;
    border: none;
    height: .52rem;
    line-height: .52rem;
    width: 100%;
    cursor: pointer;
    text-align: center;
    border-radius: 0.06rem;
    background: #5972F2;
    font-family: "PingFang HK";
    font-weight: 500;
}

.login-page .login-btn:hover {
    opacity: .9;
}


/* 观看回放按钮 */
/* 登录按钮 */
.login-page .record-btn {
    display: block;
    margin: .2rem auto 0;
    font-size: .16rem;
    color: #5972F2;
    user-select: none;
    border: none;
    height: .52rem;
    line-height: .52rem;
    width: 100%;
    cursor: pointer;
    text-align: center;
    border-radius: 0.06rem;
    background: #E7EBFF;
    font-family: "PingFang HK";
    font-weight: 500;
}

.login-page .record-btn:hover {
    opacity: .9;
}

/* 小屏幕设备，宽度小于640px */
@media screen and (max-width: 750px) {
    .login-page .login-bg{
        height: 2.5rem;
    }
    .login-page .login-wrap {
        width: 3.55rem;
        padding: .4rem .2rem .4rem;
        top:2rem
    }
}

/* 模拟下拉选择框 */
.login-page .login-item .tip-l {
    display: block;
    z-index: 1;
    position: absolute;
    top: .16rem;
    right: .14rem;
    width: .18rem;
    height: .18rem;
    background: url('../img/icon_down.png') no-repeat center;
    background-size: contain;
}

.login-page .login-item input:focus ~ .tip-l {
    transform: rotate(180deg);
}
.login-page .login-item input:focus ~ .dropdown{
    display: block ;
} 
.login-page .login-item .dropdown {
    position: absolute;
    top: .55rem;
    left: 0px;
    z-index: 999;
    display: none;
    width: 100%;
    padding: .04rem;
    border-radius: .08rem;
    background: #FFF;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.16);
    margin: 0;
    box-sizing: border-box;
}
.login-page .login-item .dropdown li {
    cursor: pointer;
    display: flex;
    padding: 0 .14rem;
    line-height: .33rem;
    color: #1D2129;
    font-family: "PingFang SC";
    font-size: .15rem;
    font-weight: 400;
    border-radius: 0.04rem;
    margin-bottom: 0.02rem;
}
.login-page .login-item .dropdown li:last-child{
    margin-bottom: 0;
}
.login-page .login-item .dropdown li:hover {
    background: #E9ECFF;
}
.login-page .login-item .dropdown li.active{
    background: #E9ECFF;
    font-weight: bold;
}

/* 错误提示 */
.message-info{
    min-width: 380px;
    box-sizing: border-box;
    border: 1px solid #EBEEF5;
    background: #edf2fc;
    position: fixed;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    transition: opacity .3s,transform .4s,top .4s;
    padding: 15px 15px 15px 20px;
    align-items: center;
    color: #909399;
    text-align: center;
    font-size: .14rem;
    display: none;
}

/* 设置页面 */
.login-page .icon-setting{
    cursor: pointer;
    position: absolute;
    top: .2rem;
    right: .2rem;
}
.login-page .setting-wrap{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    display: none;
    z-index: 2;
}
.login-page .setting-wrap.show{
    display: block;
}
.login-page .setting-wrap .content-wrap{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 6rem;
    height: 50%;
    background-color: #fff;
    border-radius: .2rem;
    overflow: hidden;
    display: flex;
    font-size: .14rem;
    color: #1D2129;
}
.login-page .setting-wrap .mask-close{
    position: absolute;
    top: .2rem;
    right: .2rem;
    cursor: pointer;
}
.login-page .setting-wrap .menu{
    width: 20%;
    height: 100%;
    background-color: rgba(246,246,246,1);
    padding: .1rem;
    box-sizing: border-box;
}
.login-page .setting-wrap  .menu-title{
    padding: .1rem;
}
.login-page .setting-wrap .menu-item{
    padding: .1rem;
    background-color: #fff;
    border-radius: .04rem;
}
.login-page .setting-wrap .menu-item img{
    vertical-align: middle;
    margin: -0.02rem 0.04rem 0 0 ;
}
.login-page .setting-wrap .content{
    padding: .2rem;
    flex: 1;
}
.login-page .setting-wrap .content-title{
    font-size: .24rem;
    padding: .1rem 0;
}
.login-page .setting-wrap .about-item{
    padding: .1rem 0;
    border-bottom: 1px solid rgba(246,246,246,1);
    display: flex;
    justify-content: space-between;
}
.login-page .setting-wrap .about-item.clickable{
    cursor: pointer;
}
.login-page .setting-wrap .about-item .item-icon{
    width: .18rem;
    height: .18rem;
    transform: rotate(-90deg);
}

/* 回放页面样式 */
.record-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    background: url('../img/login_bg.png') no-repeat rgba(0,0,0,.1);
    background-size: 100% 100%;
}

.record-wrap.show-wrap {
    display: flex;
}

/* 头部导航 */
.record-wrap .record-header {
    display: flex;
    height:.7rem;
    margin-bottom: .18rem;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.record-wrap .back-btn {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.16rem;
    color: #232325;
    margin-left: .4rem;
    display: flex;
    align-items: center;
}

.record-wrap .back-arrow {
    font-size: 0.3rem;
    font-weight: bold;
    width: .24rem;
    height: .24rem;
    line-height: .24rem;
    margin-right: .14rem;
    background: url('../img/chevron-left.png') no-repeat center;
    background-size: contain;
}

/* 回放内容区域 */
.record-wrap .record-content {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: .3rem;
    box-sizing: border-box;
    background: #fff;
    overflow-y: auto;
    border-radius: .04rem;
    margin-bottom: .18rem;
}
/* 回放内容头部 */
.record-wrap .record-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .3rem;
}

.record-wrap .record-content-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: #232325;
}
.record-wrap .record-content-header-left .main-title {
    font-size: 0.18rem;
    font-weight: 500;
}
.record-wrap .record-content-header-left .sub-title {
    font-size: 0.14rem;
}
.record-wrap .record-content-header-right .filter-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 0.08rem;
    padding: 0.1rem 0.15rem;
    cursor: pointer;
}

.record-wrap .record-content-header-right .dropdown-arrow {
    font-size: 0.1rem;
    color: #666;
}

/* 时间筛选下拉框样式 */
.record-wrap .time-filter-container {
    position: relative;
}

/* 默认状态下下拉框隐藏 */
.record-wrap .time-filter-dropdown {
    display: none;
}

.record-wrap .time-filter-container.dropdown-show .time-filter-dropdown {
    display: block;
}

.record-wrap .time-filter-container.dropdown-show .dropdown-arrow {
    transform: rotate(180deg);
}
.record-wrap .time-filter-btn {
    background: #fff;
    border: 2px solid #DDDDDD;
    border-radius: 0.1rem;
    height: .44rem;
    padding: 0rem 0.17rem 0 .1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 2rem;
    transition: all 0.2s ease;
}

.record-wrap .time-filter-btn .filter-text {
    font-size: 0.14rem;
    color: #232325;
    white-space: nowrap;
}

.record-wrap .time-filter-btn .dropdown-arrow {
    font-size: 0.1rem;
    color: #303030;
    transition: transform 0.2s ease;
}

.record-wrap .time-filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(48, 48, 48, 0.93);
    border-radius: 0.04rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.035rem;
    width: 100%;
    padding: .04rem 0;
}

.record-wrap .time-filter-dropdown .filter-option {
    padding: 0rem 0.1rem;
    height: .24rem;
    line-height: .24rem;
    font-size: 0.14rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.record-wrap .time-filter-dropdown .filter-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 选中状态的样式 */
.record-wrap .time-filter-dropdown .filter-option.active {
    background: url('../img/check.png') no-repeat 90%;
    background-size: 16px 12px;
}

/* 回放列表 */

.record-wrap .record-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.record-wrap .record-item {
    background: #f8f8f8;
    border-radius: 0.08rem;
    padding:0 .13rem 0 0.1rem;
    height: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    flex: 0 0 calc(50% - 0.1rem);
    min-width: 0;
}

.record-wrap .record-item:hover {
    background: #f0f0f0;
}

.record-wrap .record-info {
    flex: 1;
    font-size: .14rem;
    color: #232325;
}

.record-wrap .play-btn {
    width: 0.24rem;
    height: 0.24rem;
    background: #5972F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    background: url('../img/icon_play.png') no-repeat center;
    background-size: 100% 100%;
}

/* 回放提示弹框样式 */
#recordAlert .modal-dialog {
    /*margin: 50% auto;*/
    transform: translateY(50%);
    width: 400px;
}

#recordAlert .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
}

#recordAlert .modal-header {
    border-bottom: none;
    padding: 40px 20px 35px;
    text-align: center;
}

#recordAlert .modal-title {
    font-size: 22px;
    color: #232325;
    font-weight: 500;
}

#recordAlert .modal-body {
    padding: 0px 20px 40px;
    text-align: center;
}

#recordAlert .modal-body p {
    font-size: 18px;
    color: #232325;
    margin: 0 20px;
}

#recordAlert .modal-footer {
    border-top: none;
    padding: 0 20px 40px;
    text-align: center;
}

#recordAlert .btn-primary {
    background-color: #3997F8;
    border-color: #3997F8;
    border-radius: 30px;
    padding: 12px 55px;
    font-size: 20px;
}

#recordAlert .btn-primary:hover {
    background-color: rgba(57, 151, 248, .8);
}

/* 响应式设计 */
@media screen and (max-width: 1000px) {
    .record-wrap .record-content {
        width: 90%;
    }
}
@media screen and (max-width: 750px) {
    .record-wrap .record-item {
        flex: 0 0 100%;
    }
}