.section1{
    text-align: center;
    margin: 60px auto;
    max-width: 1200px;
}

.section1 p{
    font-size: 13pt;
    padding: 0;
}

.intro .title{
    font-size: 30pt;
    margin-bottom: 20px;
}

.form-section{
    text-align: center;
    background-color: #F2F2F2;
    height: auto;
    padding: 30px;
}

.title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.block-section{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.note-section{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
    margin-bottom: 15px;
}

.box{
    padding: 50px 120px;
    width: 1200px;
    /* height: 300px; removed to let the box growth within the content  */
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.note-box{
    padding: 20px;
    width: 800px;
    height: auto;
    background-color: white;
    border-style: solid;
    border-color: #c4c2c2ff;
    border-width: 1px;
    margin-bottom: 30px;
    margin-top: 60px;
}

.box-content h3{
    font-size: 18pt;
    margin-bottom: 20px;
}

.box-content p{
    font-size: 12pt;
    margin-bottom: 20px;
}

.box-content textarea{
    width: 100%;
    height: 100px;
    padding: 20px;
    background-color: #F2F2F2;
    border-style: none;
    font-size: 10pt;
}

.box-content #caption{
    margin: 0 160px;
    height: 50px;
    padding: 20px;
    background-color: #F2F2F2;
    border-style: none;
    font-size: 10pt;
}

*{
    box-sizing: border-box;
}

.form-group{
    display: flex;
    align-items: center;
    margin: 10px auto;
    width: 100%;
}

.form-group label{
    width: 200px;
    margin-right: 20px;
    text-align: right;
    font-weight: normal;
}

.form-group input[type="text"]{
    flex: 1;
    padding: 15px 20px;
    background-color: #F2F2F2;
    border-style: none;
    box-sizing: border-box;
}

.intl-tel-input{
    width:100%;
}

.intl-tel-input input{
    padding: 15px !important;
    background-color: #F2F2F2 !important;
    border:0 !important;
}

.required{
    display: table;
    float: inline-end;
    padding-right: 10px !important;
    margin-top: -60px !important;
    color: red;
    position: relative;
    z-index: 1;
}

#submit-btn{
    width: 200px;
    height: 50px;
    padding: 6px;
    background-color: #FAEC22;
    border-style: none;
    font-weight: bold;
    font-size: 11pt;
    margin-top: 20px;
    margin-bottom: 130px;
    cursor: pointer;
    transition: 0.5s;
}

#submit-btn:hover{
    background-color: #ffd500ff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: 0.5s;
}

/* .ad-section{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    margin-bottom: 5px;
} */

.placeholder-ad-box{
    /* margin-top: 10px;
    width: 800px !important;
    height: 120px !important; */
    max-width: 75vw;
    max-height: 90vw;
}

/* .ad-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
} */

/* .ad-content h4 {
    margin: 0 !important;      
    padding: 0 !important;     
    font-family: OpenSans-Regular !important;
    font-size: 11pt !important;
} */

.advertising-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    width: 100%;
    background: #f7f7f7;
}

.advertising-container h2 {
    font-size: 0.9rem;
    font-family: OpenSans-Regular;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#tnc{
    font-size: 9.5pt;
    color: #a0a0a0ff;
}

.tnc-section{
    margin-top: 40px;
}

/* radio button */
.banner-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.radio-option {
    border: 2.5px solid #ccc;
    padding: 35px 15px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}


.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    top: 10px;
    left: 10px;
    transform: scale(1.2);
}

.radio-option img {
width: 50%; 
height: 80px;
object-fit: contain;
}

.radio-option:hover img{
    filter: invert(0%) sepia(100%) saturate(300%) hue-rotate(356deg) brightness(110%) contrast(95%);
}

.radio-option:hover svg{
    color: #ffd500ff;
}

.radio-option span {
    font-weight: bold;
    margin-top: 10px;
    font-size: 10pt;
}

.radio-option:hover {
border-color: #FAEC22;
background-color: rgb(250, 236, 34, 0.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.radio-option:has(input[type="radio"]:checked){
    border-color: #FAEC22;
    background-color: #fffbc1ff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.radio-option:has(input[type="radio"]:checked) img {
    filter: invert(0%) sepia(100%) saturate(300%) hue-rotate(356deg) brightness(110%) contrast(95%);
}

.radio-option:has(input[type="radio"]:checked) svg{
    color: #ffd500ff;
}

#both-icon{
    width: 90%;
}

#square{
    width: 40%;
}

#landscape{
    width: 60%;
}

.dateSelection{
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.dateOptions{
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-content{
    display: flex;
    float: inline-end;
    align-items: center;
    gap: 70px;
}

.payment-content #amount-lbl{
    /* margin-top: 10px; */
    font-size: 17pt;
}

.amount-display{
    margin-top: -15px;
    font-size: 15pt;
}

.amount-navigate{
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

#symbol{
    position: absolute;
    font-size: 16pt;
    top: 13px;
    left: -20px;
    color: #a0a0a0ff;
}

#monetary{
    font-size: 35pt;
    font-weight: bold;
    color: #a0a0a0ff;
}

#currency{
    position: absolute;
    font-size: 12pt;
    bottom: 10px;
    right: -35px;
    color: #a0a0a0ff;
}

.file-upload-group{
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.upload-handler{
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 10px;
}

#upload-icon{
    width: 10%;
    margin-top: 40px;
}

.upload-container {
border-radius: 6px;
padding: 10px;
border: 2px dashed rgba(198, 198, 198, 0.65);
width: 400px;
height: 200px;
position: relative; /* anchor for absolute children */
display: inline-block;
}

/*.border-container {
border: 5px dashed rgba(198, 198, 198, 0.65);
padding: 10px;
width: 400px;
height: 200px; 
position: relative;
display: inline-block;
} */

.border-container label{
    font-size: 10pt;
}

.border-container #square-filename, .border-container #landscape-filename {
font-size: 8pt !important;
}

.alert-success{
    border:1px solid #8AA624;
    background-color: #DBE4C9;
    color: #064232;
}

.alert-danger{
    border:1px solid #E14434;
    background-color: #FFB4B4;
    color: #8A0000;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    max-width: max-content;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    animation: slideDown 0.4s ease-out;
    position:fixed;
    top: 30px;
    left: 800px;     
    z-index: 9999;
    gap: 13px;   
}

.close{
    border-style: none;
    background-color: transparent;
    font-weight: bold;
    margin-top: -2px;
    font-size: 20pt;
    cursor: pointer;
    color: inherit;
}

.alert-heading{
    font-weight: bold;
    margin-top: 3px;
}

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

.previewed-square{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.previewed-landscape{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#removeSquareBtn, #reuploadSquare, #removeLandBtn, #reuploadLand {
position: absolute;
top: 8px;
width: 30px;
height: 30px;
border: none;
border-radius: 50%;
cursor: pointer;
box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

#removeSquareBtn, #removeLandBtn{
right: 8px;
background-color: #9f9f9fff;
color: white;
font-size: 16px;
font-weight: bold;
transition: 0.3s;
}

#removeSquareBtn:hover, #removeLandBtn:hover{
background-color: #1a1f24;
transition: 0.3s;
}

#reuploadSquare, #reuploadLand{
right: 45px;
background-color: #FAEC22;
display: flex;
justify-content: center;
align-items: center;
}

#reuploadSquare:hover, #reuploadLand:hover{
background-color: #ffd500ff;
}

#reuploadSquare img, #reuploadLand img{
    width: 55%;
}

/* When disabled */
.upload-container.disabled {
opacity: 0.5;
}

.upload-container.disabled::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,0.6);
cursor: not-allowed;
z-index: 5;
}

input[readonly]{
    opacity: 0.3;
    cursor: not-allowed;
}

.form-note{
    margin-bottom: 20px;
    margin-top:50px;
}

.modal-content{
    margin-top: 23%;
    margin-left: -78%;
    height: 650px;
    width: 1300px !important;
}

.accept-btn{
    width: 100px;
    height: 45px;
    padding: 6px;
    background-color: #FAEC22;
    border-style: none;
    font-weight: bold;
    font-size: 11pt;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: 0.5s;
}

.accept-btn:hover{
    background-color: #ffd500ff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
}

.close-modal{
    margin-left: 1050px;
    border-style: none;
    background-color: transparent;
    font-weight: bold;
    margin-top: 1px;
    font-size: 20pt;
    cursor: pointer;
    color: inherit;
}

.dateSelection .year-drop, .dateSelection .month-drop{
    width: 68%;
    padding: 15px;
    background-color: #F2F2F2;
    border: 0;
}

.dropdown{
    width: 100%!important;
    padding: 15px!important;
    background-color: #F2F2F2!important;
    border: 0!important;
}

/* phone view */
@media (max-width: 600px) {

    .section1{
        margin-left:40px;
        margin-right:40px;
    }

    .section1 p{
    font-size: 8pt;
    padding: 0 30px;
}

.intro .title{
    font-size: 20pt;
}

.title{
    height: 12vh;
    margin: 0;
}

.form-section{
    height: 2400px;
}
    
.box{
    padding: 30px 20px 30px;
    width: 350px;
}

.block-section{
    margin-bottom: 20px;
}

.note-box{
    padding: 20px 0 10px 0;
    width: 300px;
    margin-top: 120px;
}

.note-section{
    height: 10vh;
}

.note-content{
    font-size: 6.5pt;
    padding: 0 10px;
}

.box-content h3{
    font-size: 10pt;
    margin-bottom: 17px;
}

.box-content p{
    font-size: 6.5pt;
    padding: 0 30px;
    margin-bottom: 10px;
}

.box-content textarea{
    width: 91%;
    height: 50px;
    padding: 7px;
    font-size: 5pt;
    margin-top: 3px;
}

.box-content #caption{
    margin: 0;
    max-width: 280px;
    width: 100% !important;
    height: 30px;
    padding: 10px;
    font-size: 6pt;
}

.form-group{
    margin: 15px;
    width: 100%;
}

.form-group label{
    width: 50px;
    margin-right: 10px;
    font-size: 6pt !important;
}

.form-group input[type="text"]{
    padding: 7.5px 10px;
    max-width: 240px;
    font-size: 5pt !important;
}

p{
    font-size: 8pt;
    padding: 0 30px;
    margin-top: -10px;
}

.note-section h5{
    font-size: 10pt;
}

.upload-container {
border-radius: 4px;
padding: 7px;
width: 230px;
height: 120px;
border: 1.5px dashed rgba(198, 198, 198, 0.65);
}

/*.border-container {
border: 3px dashed rgba(198, 198, 198, 0.65);
width: 217px;
height: 107px;
} */

.border-container label{
    font-size: 7pt;
}

.border-container #square-filename, .border-container #landscape-filename {
font-size: 6pt !important;
}

.upload-handler {
    gap: 4px;
    font-size: 8pt;
}

.file-upload-group{
    gap: 20px;
    margin-top: 15px;
}

#upload-icon{
    width: 10%;
    margin-top: 20px;
}

/* radio button */
.banner-options {
    gap: 10px;
    margin-top: 15px;
}

.radio-option {
    border-width: 1.5px;
    padding: 5px 0 13px 0;
    width: 70px;
    gap: 2px;
}

.radio-option img {
    width: 40%;
    height: 45px;
}

.radio-option span {
    font-weight: bold;
    margin-top: -3px;
    font-size: 4pt;
}

#both-icon{
    width: 100%;
}

.dateSelection{
    gap: 14.5px;
    margin-top: 15px;
}

.dateOptions input[type="checkbox"] {
    width: 9px;
    height: 9px;
}

.dateOptions span{
    font-size: 8pt;
}

.dateOptions{
    gap: 5px;
}

/* .ad-section{
    height: 20vh;
    margin-bottom: 5px;
} */

.placeholder-ad-box{
    /* margin-top: -25px;
    width: 360px !important;
    height: 100px !important; */
    max-width: 90vw;
}

.advertising-container h2 {
    font-size: 0.7rem;
    margin-bottom: 15px;
}

/* .ad-content h4{
    font-size: 8pt !important;
} */

.tnc-section{
    padding: 0 30px;
    font-size: 8pt;
    margin-top: 70px;
}

.tnc-section input[type="checkbox"]{
    width: 9px;
    height: 9px;
}

.tnc-section #tnc{
    font-size: 7pt;
}

.alert {
    padding: 15px 15px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    width: 300px;
    left: 20px;
    right: 20px;     
    z-index: 9999;
    gap: 15px;   
}

.close{
    margin-top: -5px;
    font-weight: bold;
    font-size: 13pt;
}

.alert-heading{
    font-weight: bold;
    font-size: 15pt;
}

#removeSquareBtn, #reuploadSquare, #removeLandBtn, #reuploadLand {
    width: 15px;
    height: 15px;
}

#removeSquareBtn, #removeLandBtn{
    font-size: 8px;
}

#reuploadSquare, #reuploadLand{
    right: 25px;
}

#reuploadSquare img, #reuploadLand img{
    width: 50%;
}

.payment-content{
    margin-top: 10px;
    padding-left: 60px;
    gap: 40px;
}

.payment-content #amount-lbl{
    /* margin-top: 10px; */
    font-size: 9pt;
}

#symbol{
    font-size: 10pt;
    top: 7px;
    left: -13px;
}

#monetary{
    font-size: 22pt;
    font-weight: bold;
    color: #a0a0a0ff;
    margin-right: 20px;
}

#currency{
    position: absolute;
    font-size: 7pt;
    bottom: 7px;
    right: -3px;
}

#submit-btn{
    width: 160px;
    height: 30px;
    padding: 7px;
    font-weight: bold;
    font-size: 8pt;
}

.form-note{
    margin-top:30px;
}

.modal-content{
    margin-top: 20%;
    margin-left: 5%;
    height: 700px;
    width: 300px !important;
}

.close-modal{
    margin-left: 55px;
}

.modal-body{
    font-size: 10pt;
}

.modal-body .h3{
    font-size: 15pt;
}

.dateSelection .year-drop, .dateSelection .month-drop{
    width: 130px;
    padding: 3px;
    font-size: 8pt;
}
}