/*
common
*/
ul, li {
    padding: 0 0;
    margin: 0;
    list-style: none;
}

ul > li > .detail {
    flex-direction: row;
    line-height: 200%;
    -moz-box-shadow:0 0 10px #d4d4d4;
    -webkit-box-shadow:0 0 10px #d4d4d4;
    box-shadow:0 0 10px #d4d4d4;
}

#buy-tickets-now {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#buy-tickets-now > .banner {
    width: 100vw;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.banner > img {
    -webkit-user-drag: none;
}

#buy-tickets-now > .banner > .title {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #8bc244;
    transform: translate(-50%,-50%);
}

#buy-tickets-now > .banner > .title > .one {
    display: inline-block;
    border: 1px solid #8bc244;
    padding: 5px;
    font-size: 40px;
    font-weight: bold;
}

#buy-tickets-now > .banner > .title > .two {
    font-size: 22px;
    display: inline-block;
}

#buy-tickets-now > .container {
    width: 100vw;
    padding: 5vh 0;
}

.container > li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
}

/**
customize
 */
.detail table {
    width: 60vw;
}
.detail table thead {
    border-bottom: 1px #dadada solid;
}
.detail table thead tr th {
    padding: 4vh 2vw 2vh 2vw;
    font-size: 14px;
}
.detail table thead tr th:first-child {
    padding: 4vh 2vw 2vh 4vw;
}
.detail table thead tr th:last-child {
    padding: 4vh 4vw 2vh 2vw;
}

.detail table tbody tr {
    border-bottom: 1px #dadada solid;
}

.detail table tbody tr td {
    padding: 1vh 0 1vh 1.5vw;
    font-weight: normal;
}

.detail table tbody tr td:first-child {
    padding: 1vh 0 1vh 3vw;
    font-weight: normal;
}

.detail table tbody tr .num {
    display: flex;
    flex-direction: row;
    line-height: 100%;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.detail table tbody tr .num > * {
    margin: 1vh;
    width: 20px;
    height: 20px;
    text-align: center;
}

.detail table tbody tr .num > .cut-back {
    border: 1px #dadada solid;
    color: #dadada;
    cursor: pointer;
}

.detail table tbody tr .num > .number {
    align-self: center;
    margin: 0;
    color: #8bc244;
}

.detail table tbody tr .num > .addition {
    width: 20px;
    height: 20px;
    text-align: center;
    border: 1px #8bc244 solid;
    color: #8bc244;
    cursor: pointer;
}

.reimburse {
    padding: 2vh 3vw;
}

.sign-up {
    float: right;
    padding: 2vh 3vw;
    font-size: 24px;
}

.sign-up > * {
    margin-top: 1vh;
}

.sign-up > .money {
    text-align: right;
    padding: 1vh;
}

#sign-up-button {
    cursor: pointer;
    padding: 1vh 2vw;
    background: #8bc244;
    color: #ffffff;
    font-size: 20px;
}
.login-register-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .4);
    z-index: 9999999;
    font-size: 14px;
}

.login-register-box > .box {
    position: relative;
    width: 30vw;
    margin: 0 auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 50px;
}

.login-register-box > .box > .close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
}

.login-btn {
    height: 45px;
    line-height: 45px;
    background-color: #5d5e73;
    text-align: center;
    color: #ffffff;
    margin-top: 30px;
    cursor: pointer;
}
.login-logo {
    display: flex;
    justify-content: center;
}
.nation-select {
    width: 30%;
    margin-top: 8px;
    height: 42px;
    color: rgb(65, 65, 65);
    text-indent: 5px;
    font-size: 14px;
    margin-bottom: 8px;
    outline: none;
    border: 1px solid rgb(192, 192, 192);
}

/*.ticket-container {*/
/*    display: flex;*/
/*    gap: 1.5rem;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 1.5rem;*/
/*    min-height: 100vh;*/
/*}*/

.ticket-main {
    flex: 2;
}

.ticket-sidebar {
    flex: 1;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.package-group, .ticket-group {
    width: 100%;
}

.package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 0.5rem;
}

.package-item:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.selected-package {
    border-color: #1879A3;
    background-color: rgba(24, 121, 163, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.package-name {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.radio-hidden {
    display: flex;
    align-items: center;
    height: auto;
}

.radio-hidden >>> .el-radio__inner {
    display: none;
}

.radio-hidden >>> .el-radio__label {
    display: flex;
    align-items: center;
    padding-left: 0;
}

.ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 0.5rem;
}

.ticket-item:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.selected-ticket {
    border-color: #008C7B;
    background-color: rgba(0, 140, 123, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.ticket-info {
    flex: 1;
}

.ticket-name {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.ticket-price {
    text-align: right;
}

.preferential-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #008C7B;
}

.original-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #008C7B;
}

.original-price-strike {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.ticket-details {
    margin-top: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.ticket-description {
    color: #6b7280;
    margin: 0.75rem 0;
    padding-right: 10px;
    font-size: 0.875rem;
}

.ticket-description-box{
    display: flex;
    justify-content: space-between;
}

.current-price {
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    color: #84C24C;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.price-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

.checkout-btn {
    background-color: #10312B;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1rem;
    width: 8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout-btn:hover {
    background-color: rgba(16, 49, 43, 0.9);
}

.purchase-info {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #374151;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.info-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon {
    background-color: #84C24C;
    color: white;
}

.wallet-icon {
    background-color: #008C7B;
    color: white;
}

.location-icon {
    background-color: #8BC244;
    color: white;
}

.message-icon {
    background-color: #008C7B;
    color: white;
}

.info-content {
    flex: 1;
}

.info-subtitle {
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.25rem 0;
}

.info-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.contact-email {
    font-weight: bold;
    color: #008C7B;
}

/* 动画效果 */
.slide-fade-enter-active {
    transition: all 0.3s ease;
}

.slide-fade-leave-active {
    transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter, .slide-fade-leave-to {
    transform: translateY(-10px);
    opacity: 0;
}

ul {
    margin-top: 0.25rem;
    margin-left: 1rem;
    list-style-type: disc;
}

.ticket-container {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.ticket-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 左侧主要内容占2份，右侧侧边栏占1份 */
    gap: 1rem; /* 间距1.5rem */
    align-items: start; /* 顶部对齐 */
}

.ticket-main {
    /* 左侧主内容区域 */
}

.ticket-sidebar {
    /* 右侧侧边栏 */
    position: sticky; /* 可选：使侧边栏粘性定位 */
    top: 1rem;
}

/* 响应式设计：在小屏幕上变为单列布局 */
@media (max-width: 768px) {
    .ticket-grid {
        grid-template-columns: 1fr; /* 移动设备上单列布局 */
    }

    .ticket-sidebar {
        position: static; /* 移除粘性定位 */
    }
}

     /* 隐藏所有 radio 圆点 */
.radio-hidden .el-radio__input {
    display: none;
}

.radio-hidden .el-radio__label {
    padding-left: 0;
}

/* 如果需要自定义选中状态的样式 */
/*.radio-hidden.is-checked .el-radio__label {*/
/*    !* 添加自定义选中样式 *!*/
/*    font-weight: bold;*/
/*    color: #409EFF;*/
/*}*/
.el-radio__label {
    font-size: 18px!important;
}

.price-info{
    font-size: 1rem;
    color: #4B5563;
}

.package-section {
    margin-bottom: 1rem;
}