body {
    margin: 0;
    overflow: hidden;
}

body {
    height: auto;
    overflow-y: auto;
    display: block;
}


.form-card {
    width: 900px;        
    max-width: 95%;
   /* height: calc(100vh - 40px); */
    margin: 20px auto;  
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;    
}

@media (min-width: 992px) {
    .form-card {
        width: 900px;
    }
}

.card-header-fixed {
    padding: 20px 24px 10px;
    flex-shrink: 0;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.card-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
     /* max-height: 420px;*/
}
 
.card-body-scroll {
    position: relative;
}

.card-body-scroll::after {
    content: "";
    position: sticky;
    bottom: 0;
    height: 24px;
    background: linear-gradient(
        to bottom,
        rgba(247,249,252,0),
        rgba(247,249,252,1)
    );
    pointer-events: none;
}

.card-body-scroll {
    /*max-height: 540px;*/
    padding: 20px 24px 28px;
    margin-top: 12px;
    background: #f7f9fc;       
    border: 1px solid #d6def5;  
    border-radius: 10px;

    overflow-y: hidden;
}

.card-footer-fixed {

    box-shadow: 0 -4px 10px rgba(0,0,0,0.04);
}

@media (min-width: 992px){
    body{
        display:flex;
        align-items:center;
        justify-content:center;
        
         overflow:auto;
        background:#f2f7ff;
    }

    .form-card{
        width:650px;
       padding:15px 24px 18px;
        margin:20px 0;   
    }
}

@media (min-height: 750px){
    body{
        display:flex;
        align-items:center;
        justify-content:center;
        overflow:hidden;   
    }
}

@media (max-width: 991px){
    body{
        display:block;
        overflow:auto;
        padding:15px;
    }

    .form-card{
        width:100%;
        max-width:650px;
        margin:0 auto;
        padding:18px 20px 30px;
    }
}

@media (max-width: 768px){
    .col-4,
    .col-6{
        width:50%;
    }
}

@media (max-width: 576px){
    .col-4,
    .col-6,
    .col-12{
        width:100%;
    }
}

.form-card{
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 35px rgba(0,0,0,0.15);
}

.form-label{
    font-size:12px;
    font-weight:600;
    color:#000;
    margin-bottom:2px;
}

.form-label span{
    color:red;
}

.form-control{
    font-size:13px;
    padding:7px 10px;
    background:#fafafa;
    border:1px solid #dcdcdc;
}

.form-control::placeholder{
    color:#b5b5b5;
}

.form-control:focus{
    background:#ffffff;
    border-color:#a0a0a0;
    box-shadow:0 0 0 2px rgba(0,0,0,0.04);
}

textarea.form-control{
    resize:none;
    height:46px;
}

button{
    font-size:14px;
    padding:10px;
}

.screen{
    display:none;
}

#register{
    display:block;
}

#success:target{
    display:block;
}

#success:target ~ #register{
    display:none;
}

.header-logos{
    display: flex;
    align-items: center;
}

.header-logos .text-center{
    flex: 1;
}

.lahs-text {
    margin: 0 !important;  
    padding: 0;
    font-weight: 700;       
    color: #000;            
    font-size: 13px;        
}

.reward-text {
    margin-top: 10px !important;  
    margin-bottom: 5px;
}

.terms-box {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f7f9fc;
    border: 1px dashed #d6def5;
    border-radius: 8px;
    font-size: 12.5px;
    color: #444;
}

.terms-box a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.terms-box a:hover {
    text-decoration: underline;
}

.form-check-input {
    cursor: pointer;
}

.terms-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 28px;
}

.terms-heading {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

.terms-list {
    padding-left: 22px;
}

.terms-list li {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

.terms-divider {
    margin: 36px 0 18px;
    border: none;
    border-top: 2px solid #a8a8a8;
}
.terms-footer {
    font-size: 16px;
    color: #000000;
}

.policy-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
    line-height: 1.7;
    color: #222;
}

.policy-title {
    font-size: 28px;
    font-weight: 700;
}

.policy-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
}

.policy-section {
    margin-top: 32px;
    font-size: 17px;
    font-weight: 700;
}

.policy-list {
    margin-left: 22px;
}

.form-card:has(#success:target) .form-wrapper {
    display: none;
}

.form-card:has(#success:target) #register {
    display: none;
}

#success {
    display: none;
}

#success:target {
    display: block;
}

.form-card:has(#success:target) {
    height: auto;
}
.form-card:has(#success:target) #success {
    padding: 40px 0;
}


