/*campaigns頁面活動專區*/
.campaignsPage-wrap{
    background-color: #FFC33A!important;
}

.campaigns-logo{
    width: 20% !important;
}

.method-title{
    font-size: 3rem;
    font-weight: bold;
    color: #1F445B!important;
}

.target-title{
    font-size: 3rem;
    font-weight: bold;
    color: #F16800!important;
}

.winner-title{
    font-size: 3rem;
    font-weight: bold;
    color: #00A3AA!important;
}

.method-wrapper,.target-wrapper,.winner-wrapper{
    max-width: 400px;
    min-height: 400px;
    margin: 0 auto;
    border-radius: 16px !important;
    box-shadow: 0 7px 12px #FA9513 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.method-wrapper a,.target-wrapper a{
   width: 70%!important;
   border-radius: 50px;
}

.method-wrapper a{
    background-color:#215F7E;
}

.target-wrapper a{
    background-color:#FFB320;
}

.winner-wrapper a{
    background-color:#04CDD6;
}

.method-wrapper a,
.target-wrapper a,
.winner-wrapper a {
    width: 70% !important;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    font-size: 1.3rem;
}

.target-wrapper a {
    box-shadow: 0 6px 0 #FA9513, 0 6px 12px #FA9513;
}

.method-wrapper a {
    box-shadow: 0 6px 0 #16475F, 0 6px 12px #16475F;
}

.winner-wrapper a {
    box-shadow: 0 6px 0 #009A9E, 0 6px 12px #009A9E;
}

.btn {
    border: 0px!important;
}

.method-icon img,.target-icon img,.winner-icon img{
    width: 80px;
    height: 80px;
}

.method-btn-icon img,.target-btn-icon img,.winner-btn-icon img{
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.target-wrapper p{
    font-size: 1.3rem;
    font-weight: bold;
    color: #C55705!important;
}

.target-wrapper a:hover, .method-wrapper a:hover, .winner-wrapper a:hover {
    color: #ffff!important;
    opacity: .6;
}

.method-wrapper p{
    font-size: 1.3rem;
    font-weight: bold;
    color: #1F445B!important;
}

.winner-wrapper p{
    font-size: 1.3rem;
    font-weight: bold;
    color: #006B70!important;
}

/* 自訂 campaigns grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-items: center;
    padding: 0px 16%;
}

.campaigns-spokesperson {
    width: 34%;
    position: absolute;
    bottom: -21%;
    right: -8%;
    z-index: -1;
}

.campaigns-cloud {
    width: 80%;
    position: absolute;
    top: 20%;
    left: 4%;
    z-index: -1;
}

.campaigns-cloud-left{
    width: 32%;
    position: absolute;
    bottom: -23%;
    left: -20%;
    z-index: -1;
}


@media (max-width: 1200px) {
    .campaigns-grid {
        padding: 0px 10%;
    }
}

.error-message{
    background-color: #ff5757;
    color: #fff;
    padding: 6px;
    display: none;
}

.notify-message{
    background-color: #ff5757;
    color: #fff;
    padding: 6px;
}








/* 固定按鈕圓角與陰影 */
.campaign-side-btns .btn {
    width: 80px;
    height: 80px;
    font-size: .9rem;
    word-break: keep-all;
    text-align: center;
    justify-content: center;
    border-radius: 50px;
    display: inline-grid;
    background-color: #fff;
    color: #1F445B !important;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.campaign-side-btns{
    right:20px;
    top:40%;
    z-index:1000;
}

.campaign-side-btns img{
    width: 30px !important;
    height: 30px;
    margin: 0 auto;
}

.nav-item img{
    width: 40px;
    height: 40px;
}

.nav-tabs .nav-link {
    border-radius: 14px 14px 0 0;
    background:#F3F3F3;
}

@media screen and (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 6px 6px!important;
        font-size: 1rem!important;
    }
    #campaignTabsContent{
        font-size: 17px!important;
    }
}

.nav-tabs .nav-link{
    color: #7D7669!important;
}

.nav-tabs{
    border: 0px!important;
}

#campaignTabsContent{
    position: relative;
    top: -2px;
    border-radius: 20px !important;
    color: #7D7669;
    font-size: 20px;
    padding: 7% !important;
}

#campaignStartTabsContent{
    position: relative;
    top: -23px;
    border-radius: 20px !important;
    color: #7D7669;
    font-size: 20px;
    padding: 7% !important;
}

#campaignTabsContent .title,#campaignStartTabsContent .title{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

#campaignTabsContent .date{
    color: #6A4E1B;
    font-weight: bold;
    text-align: center;
}

#campaignTabsContent .remark{
    color:#F3821D;
    text-align: center;
}

#campaignTabs{
    margin-left: 30px;
}

.method-content-wrap{
    position: relative;
    top: -102px;
}

.method-content-wrap .tab-pane ol{
    margin-left: 30px;
}

.active-img{
    display: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
}

.method-content-wrap .nav-link.active .active-img{
    display: inline-flex;
}

.method-content-wrap .nav-link.active{
    color: #F3821D!important;
}

.method-content-wrap .nav-link.active .basic-img{
    display: none;
}


.method-step-content{
    background-color: #FFF7DC;
    border-radius: 10px;
    max-height: initial!important;
    overflow: hidden;
}

.method-step-content .list-circle p,.disclaimer-wrap.list-circle p{
    padding-left: 26px;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    text-align: justify;
}

.wrap{
    flex-wrap: wrap;
}

.method-step-content .list-circle p::before,.disclaimer-wrap.list-circle p::before{
    content: "•";
    color: #FEAB27;
    font-size: 3rem;
    position: absolute;
    left: 0px;
    top: -26px;
}

.step{
    font-size: 3.2rem;
    font-weight: bold;
    color: #FEAB27;
}

.step-title{
    color: #595040;
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-campaigns{
    width: 100%!important;
    background-color: #FFCB4A;
    box-shadow: 0 6px 0 #FA9513, 0 6px 12px #FA9513;
    border-radius: 6px;
    font-size: 1.4rem;
    color: #0b2e13!important;
    padding: 20px;
}

.btn-campaigns:hover{
    opacity: .6;
}

.btn-campaigns .star{
    color: #fff!important;
    margin: 14px;
}

.prize-wrap{
    color: #FF6373;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}

.dollarSign{
    font-size: 2.5rem;
}

.prize-title{
    font-size: 2rem;
    color: #595040;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.prize-quota{
    font-size: 1.5rem;
    color: #595040;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.notice-title{
    background-color: #FA6262;
    padding: 10px;
    color: #fff;
    margin: 20px 0px;
}

#activityIntroContainer .method-step-content{
    text-align: center;
    color: #595040;
    font-size: 20px;
}

.font-weight-bold{
    font-weight: bold!important;
}

.method-step-content .btn-primary{
    border-radius: 50px;
}

.recommend-btn{
    position: relative;
    right: -70px;
    color:#FF9D00;
}

.recommend-btn:hover,.recommend-btn:active{
    color: #9a640b;
}

.activity-intro .form-check .form-check-input{
    float: none;
    margin-left: -1.5em;
}

.activity-intro .form-check-input {
    margin-top: 0px!important;
    margin-right: 6px;
}

.schematicDiagram-wrap{
    position: absolute;
    top: 20px;
    right: 30px;
    width: 130px;
    border: 3px solid #FFCB4A;
    background-color: rgba(0, 0, 0, 0.56);
}

@media screen and (max-width: 1300px) {
    .schematicDiagram-wrap {
        position: relative;
        margin-left: auto;
        display: flex;
        top:unset;
        right: unset;
        margin-bottom: 20px;
    }
}

.schematicDiagram-text{
position: absolute;
font-size: 1rem;
word-break: keep-all;
left: 21%;
top: 30%;
color: #fff;
}

.black-mask{
position: absolute;
right: 0;
left: 0;
height: 100%;
background-color: #0000007a;
}

.img-border{
margin: 20px;
border: 1px solid #7D7669;
}

.alert-message{
background-color: #FA6262;
color: #fff;
width: 90%;
margin: 0 auto;
margin-bottom: 40px;
text-align: center;
padding: 10px;
}

.modal-second-title{
font-size: 1.2rem;
font-weight: bold;
color: #595040;
margin-bottom: 20px;
}

.method-step-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
    max-width: 580px;
    margin: 0 auto;
}

.method-step-content ul li{
    margin-bottom: 20px;
}


.facebook-btn {
    background-color: #1877F2;
    color: white;
    border-radius: 999px; /* pill style */
}

.threads-btn {
    background-color: #000000;
    color: white;
    border-radius: 999px;
}

.instagram-btn {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
    border-radius: 999px;
}

.facebook-btn:hover,
.threads-btn:hover,
.instagram-btn:hover {
    opacity: 0.8;
    color: white;
}


.upload-wrap {
    border: 2px dashed #f5a623 !important;
    background-color: #fff;
    border-radius: 6px;
    /* padding: 11% !important; */
    min-height: 300px;
}

.upload-wrap.dragover {
    background-color: #fff3e0;
}

#contactEmail {
    border: 2px solid #f5a623;
    padding: 10px 15px;
}


.upload-wrap .upload-icon{
    width: 80px;
    margin: 0px 20px;
}

.step02-mask{
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    /* width: 100%; */
    height: 100%;
    background-color: #000000b8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 30px;
    text-align: center;
    z-index: 1;
}

.campaignStartContent-innerWrap ol{
    padding-left: 20px;
}

#campaign-time{
    position: absolute;
    font-size: 1.3rem;
    bottom: 20%;
    left: 14%;
}

.campaigns-entrance-time-wrap #campaign-time{
    position: relative;
    bottom: unset;
    left: unset;
}

@media (max-width: 992px) {
    .method-step-icon-1, .method-step-icon-2 {
        width: 70%!important;
        display: flex;
        margin: 0 auto;
    }
    .campaigns-grid {
        padding: 0px 10%;
    }
    .campaigns-spokesperson {
        width: 47%;
        position: absolute;
        bottom: -14%;
        right: -18%;
        z-index: -1;
    }
    #campaign-time{
        position: absolute;
        font-size: 1.3rem;
        bottom: 47%;
        left: 25%;
        transform: translate(-14%, 15%);
    }
    .campaigns-entrance-time-wrap #campaign-time{
        position: unset;
        transform: unset;
    }
}

.success-title{
    font-size: 2rem;
    font-weight: bold;
    color: #595040!important;
    margin-bottom: 20px;
    text-align: center;
}

.text-orange{
    color: #F3821D!important;
    margin-top: 30px;
}

.table-container {
    max-height: 580px;
    margin-bottom: 40px;
    overflow-y: scroll;
}



.table-container {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #f1f1f1;
}

.table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #ff7700;
}

.campaigns-entrance-time-wrap #campaign-time{
    position: relative;
    bottom: unset;
    left: unset;
}

.indent-2 {  margin-left: 3em; }
.indent-4 {   margin-left: 5em; }


@media (max-width: 768px) {
    .campaigns-logo{
        width: 50% !important;
    }
    #activityIntroTemplate table td {
        justify-content: center;
    }
    /*.table-container{*/
    /*    min-height: 300px;*/
    /*}*/
    .indent-2 {  margin-left: 1em; }
    .indent-4 {   margin-left: 2em; }
    .step {
        font-size: 2rem;
    }
}

#services-data-table td{
    font-size: 1.1rem;
    padding: 10px 26px !important;
}

@media (max-width: 500px) {
    #campaign-time {
        position: absolute;
        font-size: 1rem;
        bottom: 47%;
        left: 25%;
        transform: translate(-14%, 15%);
    }
    .nav-tabs .nav-link {
        padding: 1px;
        /* font-size: 1rem !important; */
        font-size: 0.9rem;
    }
    .nav-item img {
        width: 19px;
        height: 19px;
    }
    #campaignTabs {
        margin-left: 11px;
        position: relative;
        top: 5px;
    }
    .campaign-side-btns{
        right:0px;
    }
    .method-step-content{
        padding: 20px 10px!important;
    }
    .campaign-side-btns{
        right: 0px!important;
    }
    .method-step-content .form-check{
        padding-left: 0px!important;
    }
}

@media (max-width: 400px) {
    #campaign-time {
        position: absolute;
        font-size: 1rem;
        bottom: 41%;
        left: 27%;
        transform: translate(-14%, 15%);
    }
}


.text-justify{
    text-align: justify;
}

#intro ol li{
    text-align: justify;
}

#campaignTabsContent p{
    text-align: justify;
}

.campaigns-entrance-time-wrap {
    width: 100%;
    text-align: center;
    padding: 0 15px;
}

/* 手機版額外確保置中 */
@media (max-width: 768px) {
    .campaigns-entrance-time-wrap {
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
    }

    .campaigns-entrance-time-wrap .text-center {
        display: block;
        width: 100%;
    }

    .campaigns-spokesperson {
        right: 0;
    }

    .campaigns-grid {
        grid-template-columns: unset;
        padding: 0px 1%;
    }
}