/* =====================================
   GiftZ Survey CSS - Part 1
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f3f4f8;
    color:#222;
}

/* Loader */

.loader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader h2{
    margin-top:15px;
    color:#7b0b67;
    font-size:30px;
    font-weight:bold;
}

.loader p{
    margin-top:6px;
    color:#666;
    font-size:16px;
}

.spinner{
    width:52px;
    height:52px;
    border:5px solid #e6e6e6;
    border-top:5px solid #7b0b67;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* Header */

.topbar{
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 18px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#7b0b67;
}

.menu{
    font-size:30px;
    cursor:pointer;
}

/* Date Bar */

.datebar{
    background:#7b0b67;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    font-size:15px;
    font-weight:bold;
}

/* Main Card */

.container{
    width:94%;
    max-width:650px;
    margin:16px auto;
    background:#fff;
    border-radius:20px;
    padding:22px;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}

h1{
    font-size:34px;
    margin-bottom:10px;
    color:#222;
}

.subtitle{
    font-size:17px;
    color:#666;
    line-height:1.6;
    margin-bottom:20px;
}

.banner img{
    width:100%;
    display:block;
    border-radius:18px;
}
/* =====================================
   GiftZ Survey CSS - Part 2
===================================== */

/* Progress */

.progress{
    width:100%;
    height:8px;
    background:#e8e8e8;
    border-radius:30px;
    overflow:hidden;
    margin:22px 0;
}

.progress-fill{
    width:25%;
    height:100%;
    background:#7b0b67;
    transition:.4s ease;
}

/* Questions */

#questionNo{
    font-size:22px;
    font-weight:700;
    margin:20px 0 10px;
    color:#222;
}

#questionText{
    font-size:19px;
    color:#444;
    line-height:1.6;
    margin-bottom:20px;
}

/* Options */

#options{
    margin-bottom:25px;
}

.btn{
    width:100%;
    height:54px;
    border:none;
    border-radius:30px;
    background:#7b0b67;
    color:#fff;
    font-size:18px;
    font-weight:bold;
    margin:10px 0;
    cursor:pointer;
    transition:.25s;
}

.btn:hover{
    background:#650957;
}

.btn:active{
    transform:scale(.98);
}

/* Comments */

.comments{
    margin-top:35px;
}

.comments h3{
    font-size:20px;
    margin-bottom:15px;
    color:#222;
}

.comment{
    padding:16px 0;
    border-bottom:1px solid #ececec;
}

.comment:last-child{
    border-bottom:none;
}

.comment b{
    display:block;
    font-size:17px;
    color:#222;
}

.comment p{
    margin-top:5px;
    color:#666;
    font-size:14px;
    line-height:1.5;
}
/* =====================================
   GiftZ Survey CSS - Part 3
===================================== */

/* Congratulations Card */

.success-box{
    width:100%;
    max-width:420px;
    margin:20px auto;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    overflow:hidden;
    text-align:center;
    animation:popup .35s ease;
}

.success-banner{
    width:100%;
    display:block;
}

.success-content{
    padding:25px;
}

.success-content h2{
    font-size:34px;
    color:#24B34B;
    margin-bottom:15px;
}

.success-content p{
    font-size:17px;
    color:#444;
    line-height:1.6;
    margin-bottom:12px;
}

.claim-btn{
    width:100%;
    height:54px;
    border:none;
    border-radius:30px;
    background:#7b0b67;
    color:#fff;
    font-size:20px;
    font-weight:bold;
    margin-top:18px;
    cursor:pointer;
    transition:.25s;
}

.claim-btn:hover{
    background:#650957;
}

.claim-btn:active{
    transform:scale(.98);
}

@keyframes popup{

    from{
        opacity:0;
        transform:scale(.85);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

/* Mobile */

@media(max-width:600px){

    .success-box{
        max-width:95%;
    }

    .success-content{
        padding:20px;
    }

    .success-content h2{
        font-size:28px;
    }

    .success-content p{
        font-size:16px;
    }

    .claim-btn{
        height:50px;
        font-size:18px;
    }

}
