* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
    -webkit-tap-highlight-color: transparent;
}
#data-table th:nth-child(3),
#data-table td:nth-child(3) {
    display: none;
}


@media (max-height: 760px) {
    #popupContent-quan {
        max-height: 250px;
    }
    
    #popupContent1 {
        max-height: 450px; /* 视口高度的90% */
      
    }
}
.zidong-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    margin-bottom: 40px;
    margin-left:10px;
}
.ticket-msg{
     left: 45px;
    
    position:absolute
}
#chengbenbiaoqian{
    font-size: 18px;
    position: absolute;
    margin-left: -60px;
    top: 615px;;
}
#sousuoInput{
    height: 32px;
    width: 70px;
    position: absolute;
    top: 0px;
    left: 160px;
}
#jiemaphone{
    width: 100px;
}
#sousuophone{
    width: 100px;
}
#sousuoButton{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 100px;
    font-size: 14px;
}
#sousuoButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#chaxunButton{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 100px;
    font-size: 14px;
}
#chaxunButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}

#about{
    padding-bottom: 70px;
    
    overflow: auto;
}

#home{
    padding-bottom: 70px;
    overflow: auto;
}
#qupiao{
    padding-bottom: 70px;
    overflow: auto;
}


/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    line-height: 1.6;*/
/*}*/

/*.container {*/
/*    width: 90%;*/
/*    margin: 0 auto;*/
/*    padding: 0 10px;*/
/*}*/

/*.header {*/
/*    font-size: 2em;*/
/*    margin-bottom: 20px;*/
/*    text-align: center;*/
/*}*/

/*.content {*/
/*    font-size: 1em;*/
/*    margin-bottom: 20px;*/
/*}*/
html {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none
}




body {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 10vh;
    font-family: 'Open Sans', sans-serif;
}
/*取票信息页*/
/* 添加订单信息和购票按钮样式 */
.order-info {
   
    height: 80px;
    width: auto;
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    position: relative;
    margin-top: -20px;
}
.order-info::-webkit-scrollbar{
    display: none;
}

.order-info .text {
    color: #333;
    margin: 10px 0;
    font-size: 16px;
}
ul{
    list-style: none;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
}
ul li{
    width: 70px;
    height: 50px;
    border: 1px solid #a0a2a4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin: 5px;

}
#qrcode  {
    width: 170px; /* 调整二维码的大小 */
    height: 170px; /* 调整二维码的大小 */
    display: flex;
    margin: 120px auto; /* 上下间距和中间对齐二维码 */
    
    background-color: white; /* 设置背景颜色为白色 */
    border-radius: 10px; /* 使边框圆角 */
    margin-bottom: 10px;
    
    
}
#tickepng  {
    width: 100px; /* 调整二维码的大小 */
    height: 140px; /* 调整二维码的大小 */
    position: absolute;
     /* 上下间距和中间对齐二维码 */
    left: 270px;
    top: 25px;
    background-color: white; /* 设置背景颜色为白色 */
    border-radius: 10px; /* 使边框圆角 */
    margin-bottom: 10px;
    
    
}
.ticket-container {
    background-color: #ffffff; /* 浅蓝色背景框 */
    border: 2px solid #1a73e8; /* 边框宽度、样式和颜色 */
    height: 550px;
    position: relative;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    width: auto; /* 宽度可以根据需求调整 */
}
.ticket-container span{
    color: #1a73e8;
    margin-left: 118px;
    font-weight: bold;
}
.ticket-details {
    margin-bottom: 10px; /* 增加下边距 */
    text-align: left; /* 左对齐 */
    font-size: 14px;
    margin-top: 10px;
    width: 250px;
}
#tickettime,
#tickethall {
    white-space: nowrap; /* 防止内容换行 */
    overflow: hidden; /* 隐藏超出部分的内容 */
    text-overflow: ellipsis; /* 使用省略号表示被隐藏的文本 */
}
#tickettime{
color: #ea0e0e;
}
#ticket-code{
    top:15px;
    color: #ea0e0e;
    font-size: 23px;
    position: relative;
    border: 1px solid #a0a2a4;
    padding: 10px;
    margin-top: 10px;
    border-radius: 15px
}
#ticketphone{
    
    margin-top: 25px;
}
.ticket-details1 {
    margin-bottom: 10px; /* 增加下边距 */
    font-weight: bold;
    text-align: left; /* 左对齐 */
    font-size: 20px;
    margin-top: 0px;
    white-space: nowrap; /* 防止内容换行 */
    overflow: hidden; /* 隐藏超出部分的内容 */
    text-overflow: ellipsis; /* 使用省略号表示被隐藏的文本 */
    width: 250px;
    
}
.ticket-details div {
    margin: 5px 0;
}
#ticket-title {
    position: absolute;
    text-align: center;
    width: 80px;
    left: 150px;
    top: 195px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    font-size: 20px;
    color: #6c6b6b;
    z-index: 100;
}
.qr-info {
    height: 0px;
    top: 0px; /* 增加下边距 */
    margin-bottom: 10px;
    text-align: center; /* 居中对齐 */
    font-size: 16px; /* 字体大小 */
    margin: 10px 10px;
    margin-top: 35px;
}
.screenshot-button {
    background-color: #0097a7; /* 深蓝色按钮 */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px; /* 上间距 */
    margin: 0px 127px;
    position: relative;
    top: 0px; /
}
.screen-button {
    background-color: #0097a7; /* 深蓝色按钮 */
    color: white;
    
    border: none;
    width: 150px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px; /* 上间距 */
    margin: 30px 90px;
}
.ticketshuliang{
    text-align: center;
    font-size: 15px; 
    }
.screenshot-button:hover {
    background-color: #00838f; /* 鼠标悬停时的深蓝色 */
}


#priceContainer {
    position: fixed;
    left: 10px;
    border-radius: 6px;
   font-size: 20px;
    min-width: auto;
    margin-left: 20px;
    bottom: 85px;
    
    
    
}
#priceDisplay{
    margin-left: 10px;
    position: fixed;
    font-size: 20px;
    bottom: 96px;
    color: #ea0e0e;
}

#originalPriceLabel {
    position: fixed;
    font-size: 20px;
    margin-left: 120px;
    margin-bottom: 30px;
    margin-top: -30px;
}

/* #originalPriceCheckbox {
    margin-left: 20px;
} */
#loadingStatus {
    position: fixed; /* 固定位置 */
    width: 50px;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.7); /* 半透明灰色背景 */
    color: white; /* 文本颜色白色 */
    text-align: center;
    line-height: 50px; /* 垂直居中文本 */
    border-radius: 5px; /* 圆角 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s; /* 过渡效果 */
    z-index: 1100; /* 最高的堆叠顺序 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    pointer-events: none; /* 隐藏时不可点击 */
}

#loadingStatus.hidden {
    opacity: 0;
    pointer-events: none; /* 隐藏时不可点击 */
}

#msgStatus {
    position: fixed; /* 固定位置 */
    width: auto;
    height: 40px;
    background-color: rgba(128, 128, 128, 0.9); /* 半透明灰色背景 */
    color: white; /* 文本颜色白色 */
    text-align: center;
    line-height: 20px; /* 垂直居中文本 */
    border-radius: 5px; /* 圆角 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s; /* 过渡效果 */
    z-index: 1300; /* 最高的堆叠顺序 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    pointer-events: none; /* 隐藏时不可点击 */
}
#msgStatus.msghidden {
    opacity: 0;
    pointer-events: none; /* 隐藏时不可点击 */
}



div {
    margin-top: 10px;
    margin-bottom: 10px;
}

label {
    margin-right: 10px;
}

input {
    padding: 5px;
    margin-right: 10px;
}

button {
    padding: 4px 10px;
    cursor: pointer;
}
#popupContainer1.show {
    transform: translateY(0); /* 移动到屏幕内 */
}
/*弹出订单界面*/
#popupContainer1 {
    position: fixed;
    
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900; 
    height: 80%; /* 半屏高度 */
    background-color: white;
    transform: translateY(100%); /* 初始位置在屏幕外*/
    transition: transform 0.3s ease-out; /* 缓动效果 */
     /* 确保弹出内容在其他内容之上 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    border-top-left-radius: 20px; /* 左上角圆角半径 */
    border-top-right-radius: 20px; /* 右上角圆角半径 */
    /*border-bottom-left-radius: 20px; /* 左下角圆角半径 */
    /*border-bottom-right-radius: 20px; /* 右下角圆角半径 */
}
#dingdan-table  th{
    
    overflow: auto;
    line-height: 10px;
    text-align: center;
    

}
#dingdan-table  td{
    
    overflow: auto;
    line-height: 20px;
    text-align: center;
    

}
#data-table-table  th{
    
    overflow: auto;
    line-height: 10px;
    text-align: center;
    

}
#data-table-table  td{
    
    overflow: auto;
    line-height: 20px;
    text-align: center;
    

}

#popupContent1 {
    height: 500px;
    
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: auto

}
/* 关闭按钮样式 */
#closePopupBtn1 {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 10px;
    transition: all 0.3s ease;
    
    min-width: auto;
    margin-left: auto;
    transition: all 0.3s ease;
}

#dingdan-table{
    margin-bottom: 20px;
    height: 10px;
 }
/*弹出支付界面*/
#popupContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900; 
    height: 90%; /* 半屏高度 */
    background-color: white;
    transform: translateY(100%); /* 初始位置在屏幕外*/
    transition: transform 0.3s ease-out; /* 缓动效果 */
     /* 确保弹出内容在其他内容之上 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    border-top-left-radius: 20px; /* 左上角圆角半径 */
    border-top-right-radius: 20px; /* 右上角圆角半径 */
    /*border-bottom-left-radius: 20px; /* 左下角圆角半径 */
    /*border-bottom-right-radius: 20px; /* 右下角圆角半径 */
}

/* 显示弹出容器时的样式 */
#popupContainer.show {
    transform: translateY(0); /* 移动到屏幕内 */
}

/* 弹出内容样式 */
#popupContent {
    padding: 20px;
}
#popupContent-quan {
    padding: 20px;
}

/* 关闭按钮样式 */
#closePopupBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 10px;
    transition: all 0.3s ease;
    
    min-width: auto;
    margin-left: auto;
    transition: all 0.3s ease;
}
#PopupBtn {
    bottom: 90px; /* 距离页面底部20像素 */
    right: 115px;
    position: absolute;
    background-color: #06b529;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    align-content: center;
    min-width: 70px;
    
    transition: all 0.3s ease;
}
#close {
    bottom: 90px; /* 距离页面底部20像素 */
    right: 10px;
    position: absolute;
    background-color:  #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    align-content: center;
    min-width: 90px;
    
    transition: all 0.3s ease;
}
#PopupBtn1 {
    bottom: 70px; /* 距离页面底部20像素 */
    right: 30px;
    position: absolute;
    background-color:  #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    align-content: center;
    min-width: 90px;
    
    transition: all 0.3s ease;
}
#dingdan-card{
    font-size: 16px ;
    color: #2749f3;
    display: block;
    margin-bottom: 20px;
    margin: 40px 20px;
}


.selected-row {
    background-color: rgb(86, 158, 246); /* 你可以根据需要更改颜色 */
}  
/* 添加底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-item.active {
    color: #1a73e8;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 12px;
}

/* 调整主容器样式 */
.main-container {
    margin-top: 5px;
    margin-bottom: 10px; /* 为底部导航留出空间 */
    width: 100%;
    max-width: 1000px;
    /* padding: 0 0px; */
    
}
.seat-container{
    height: 700px;
}
.seat-info{
    
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    overflow-x:auto ;
}
#yCanvas{
    border-top-left-radius: 20px; /* 左上角圆角半径 */
    border-top-right-radius: 20px; /* 右上角圆角半径 */
    border-bottom-left-radius: 20px; /* 左下角圆角半径 */
    border-bottom-right-radius: 20px; /* 右下角圆角半径 */
    background-color:hsla(214, 95%, 51%, 0.8);
    position: absolute;
    /* top: 0; */
    z-index: 1;
    margin-top: 11px;

}


#cinemaCanvas{
    left: 40px;
    position: fixed;
    
    margin-top: .5333333333rem;
    position: relative
}

/* 通用活动状态样式 */
.search-btn:hover,
.showtime-btn:hover,
.date-btn:hover,
.movie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.showtime-btn.active,
.date-btn.active,
.movie-btn.active {
    background-color: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

.movie-btn.active .movie-price {
    color: #fff;
}

.seat.selected {
    background-color: #4CAF50;
    color: #fff;
    box-shadow: 0 2px 4px rgba(76,175,80,0.3);
}

.seat.occupied {
    background-color: #f44336;
    color: #fff;
    cursor: not-allowed;
    box-shadow: 0 2px 4px rgba(244,67,54,0.3);
}

/* 修改座位说明样式 */
.showcase {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 5px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 1px 0;
}

.showcase li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.showcase .seat {
    margin: 0;
    cursor: default;
    transform: scale(0.9);
}

.showcase .seat:hover {
    transform: scale(0.9);
    cursor: default;
}

.showcase li small {
    color: #333;
    font-size: 14px;
}

.showcase .seat.selected {
    background-color: #4CAF50;
}

.showcase .seat.occupied {
    background-color: #f44336;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .bottom-nav {
        padding: 8px 0;
    }

    .nav-icon {
        font-size: 20px;
    }

    .nav-item span {
        font-size: 11px;
    }
}

/* 超小屏幕适配 */
@media screen and (max-width: 320px) {
    .showtime-buttons {
        grid-template-columns: repeat(2, minmax(60px, 90px));
    }

    .movie-buttons {
        grid-template-columns: 1fr;
    }

    .showcase {
        gap: 15px;
    }
}
.view {
    display: none;
    margin-top: 5px;
    margin-bottom: 10px; /* 为底部导航留出空间 */
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    
  }
  .view.active {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px; /* 为底部导航留出空间 */
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    border: 1px solid #ddd;
    padding: 8px;
  }
  th {
    background-color: #f2f2f2;
    text-align: left;
  }
  .zhanghuliebiao{
    
    height: 300px;
    overflow: auto;
  }
  #popupContent{
    height: 150px;
    overflow: auto;
    margin-bottom: 20px;
  }
  #popupContent tr th{
    text-align: center;
    
  }
  #popupContent tr td{
    text-align: center;
    
  }
  #tehuihuodong{
    margin-left: 60px;
    font-size: 15px;
    width: auto;
  }
  #popupContent-quan{
    height: 330px;
    overflow: auto;
    margin-bottom: 20px;
  }
  #popupContent-quan tr {
    text-align: center;
    max-height: 20px;
  }
  #popupContent-quan tr th{
    text-align: center;
    max-height: 20px;
  }
  #popupContent-quan-xianshi tr th{
    text-align: center;
    max-height: 20px;
  }
  #popupContent-quan tr td{
    text-align: center;
    max-height: 20px;
  }
  #quan-table td, #quan-table th {
    line-height: 20px;
}

 #popupContent-biaoti{
    text-align: center;
    font-size: 20px;
    
    margin-top: 20px;
    
    
 }
 #card-table{
    margin-bottom: 20px;
    height: 10px;
 }
 #quan-table{
    margin-bottom: 20px;
    
    
 }
 #quan-table tbody tr {
    height: 25px; /* 设置合理高度 */
    line-height: 30px; /* 设置行内文本垂直居中 */
    overflow: hidden; /* 隐藏超出的内容 */
}
 #quan-table tbody tr th{
    max-height: 25px; /* 设置固定高度 */
    overflow : hidden; /* 隐藏超出的内容 */
}
#quan-table tbody tr td{
    max-height: 30px; /* 设置固定高度 */
    overflow : hidden; /* 隐藏超出的内容 */
}
  .zhanghuliebiao tr th{
    text-align: center;
    
  }
  .zhanghuliebiao tr td{
    text-align: center;
    
    
  }
.ticket-input{
    width: 50px;
}
#password{
    width: 80px;
}
#verificationCode{
    width: 80px;
}
#username{
    width: 80px;
}
#username1{
    width: 80px;
}
#unbindButton{
    background-color: #f37210;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    width: 80px;
}
#unbindButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#dengluButton{
    background-color: #339907;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    width: 80px;
      
}
#dengluButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#fasongButton{
    width: 60px;
    background-color: #339907;;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#fasongButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#huoquButton{
    width: 60px;
    margin-top: 5px;
    margin-left: 10px;
    background-color:#339907;;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#huoquButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#shifangButton{
    width: 60px;
    margin-left: 10px;
    background-color: #339907;;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#shifangButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#sendCode{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#sendCode:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#sendCode2{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#sendCode2:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#userCode{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#userCode:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#sendCode1{
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#sendCode1:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
#bindButton{
    width: 100px;
    background-color: #f37210;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}
#bindButton:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}

.book-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    margin-bottom: 40px;
    margin-left:125px;
}

.book-btn:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

.book-btn:active {
    transform: translateY(0);
}
.search-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px;
    font-size: 15px;
    position: absolute;
    top: 1px;
    transition: all 0.3s ease;
   
    min-width: 80px;
    margin-left: 250px;
    transition: all 0.3s ease;
 }
#user{
    width: 80px;
}
#userpassword{
    width: 80px;
}
#carddata-table tr th {
    text-align: center;
}
#carddata-table tr td {
    text-align: center;
}
.search-btn:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
.screen-button:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
.del-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px;
    font-size: 10px;
    height: 28px;
    transition: all 0.3s ease;
    width: 70px;
    min-width: auto;
    margin-left: auto;
    transition: all 0.3s ease;
}

.del-btn:active {
    background-color: #45a049; /* 点击时改变背景色 */
  transform: scale(0.95);
}
/* 错误提示样式 */
.error-message {
    background-color: #f44336;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .order-info {
        padding: 15px;
    }

    .order-info .text {
        font-size: 14px;
    }

    .book-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* 修改影院选择下拉框样式 */
#cinema {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

#cinema:hover {
    border-color: #1a73e8;
}

#cinema:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

#cinema option {
    padding: 12px;
    font-size: 16px;
}
/* 修改影片选择下拉框样式 */
#movie {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

#movie:hover {
    border-color: #1a73e8;
}

#movie:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

#movie option {
    padding: 12px;
    font-size: 16px;
}
/* 修改日期选择下拉框样式 */
#date-container {
    width: 60%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

#date-container:hover {
    border-color: #1a73e8;
}

#date-container:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

#date-container option {
    padding: 12px;
    font-size: 16px;
}
/* 修改场次选择下拉框样式 */
#showtime-container {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    white-space: nowrap;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

#showtime-container:hover {
    border-color: #1a73e8;
}

#showtime-container:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

#showtime-container option {
    padding: 12px;
    font-size: 16px;
}
/* 移动端适配 */
@media screen and (max-width: 768px) {
    #cinema {
        padding: 10px;
        font-size: 14px;
        background-position: right 10px center;
        background-size: 14px;
    }

    #cinema option {
        padding: 10px;
        font-size: 14px;
    }

    .cinema-container label {
        font-size: 14px;
    }
    #movie {
        padding: 10px;
        font-size: 14px;
        background-position: right 10px center;
        background-size: 14px;
    }

    #movie option {
        padding: 10px;
        font-size: 14px;
    }

    .movie-container label {
        font-size: 14px;
    }
    #date-container {
        padding: 10px;
        font-size: 14px;
        background-position: right 10px center;
        background-size: 14px;
    }

    #date-container option {
        padding: 10px;
        font-size: 14px;
    }

    .date-container-container label {
        font-size: 14px;
    }
    #showtime-container {
        padding: 10px;
        font-size: 14px;
        background-position: right 10px center;
        background-size: 14px;
    }

    #showtime-container option {
        padding: 10px;
        font-size: 14px;
    }

    .showtime-container-container label {
        font-size: 14px;
    }
}

/* 删除滚动条相关样式 */
.showtime-buttons::-webkit-scrollbar,
.date-buttons::-webkit-scrollbar {
    display: none;
}

.showtime-buttons::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.showtime-buttons::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.showtime-buttons::-webkit-scrollbar-thumb {
    background: #1a73e8;
    border-radius: 3px;
}

.showtime-buttons::-webkit-scrollbar-thumb:hover {
    background: #1557b0;
}

/* 添加下拉框高亮动画 */
@keyframes highlightSelect {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 0 0 3px rgba(26,115,232,0.3);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
    }
}

.highlight-select {
    animation: highlightSelect 1s ease infinite;
    border-color: #1a73e8 !important;
}

/* 添加提示文本 */
.cinema-container::after {
    content: '↓ 点击选择影院';
    display: block;
    color: #1a73e8;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
@media only screen and (min-device-width: 414px) and (max-device-width: 414px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
    body {
        background-color: #e0e0e0;
    }

    .container {
        padding: 15px;
    }

    /* 其他特定样式 */
    .header {
        font-size: 28px;
    }

    .content {
        font-size: 18px;
    }

    .footer {
        font-size: 16px;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 414px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    body {
        background-color: #d0d0d0;
    }

    .container {
        padding: 10px;
    }

    /* 其他特定样式 */
    .header {
        font-size: 32px;
    }

    .content {
        font-size: 20px;
    }

    .footer {
        font-size: 18px;
    }
}

.highlight-select + .cinema-container::after {
    opacity: 1;
} 
.custom-select {
    position: relative;
    font-family: Arial;
    width: 350px;
    font-size: 15px;
    margin-bottom: 10px;
}

.select-selected {
    background-color: #ffffff;
    padding: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 32px;
    overflow: hidden; 
    width: auto;
    white-space: nowrap;
}


.select-items {
    position: absolute;
    background-color: #daecff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    overflow-y: scroll;
    
}
.select-selected{
    justify-content: center;
    align-items: center
  
}

.select-items div {
    color: black;
    padding: 2px;
    cursor: pointer;
    white-space: nowrap;
}

.select-items div:hover {
    background-color: #ffffff;
}

.select-hide {
    display: none;
}

.highlight-select {
    animation: highlight 0.5s;
}

@keyframes highlight {
    0% { background-color: #f1f1f1; }
    50% { background-color: #ffffff; }
    100% { background-color: #f1f1f1; }
}
#dataSelect {
    height: 32px;
    /* 使用 flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    width: 150px;
    margin-bottom: 10px;
}

.custom-select {
    position: relative; /* 确保下拉菜单相对于这个容器定位 */
     /* 让日期选择框占据剩余空间 */
}
#chengben{
    width: 70px;
    display: flex;
    top: 580px;
    left: 280px;
    position: absolute
}