
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

*{
    margin: 2px;
    padding: 2px;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #f6f8fa;
    font-family: 'Poppins', sans-serif;
}
/*body {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background: #f9f9f9;*/
/*    font-family: 'Rubik', sans-serif;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: flex-start;*/
/*    min-height: 100vh;*/
/*}*/
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}
.container{
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1),
    0px 5px 12px -2px rgba(0, 0, 0, 0.1),
    0px 18px 36px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 10px;
    /*padding-top: 10px;*/
}

.container .title{
    padding: 25px;
    background: #f6f8fa;
}

.container .title p{
    font-size: 25px;
    font-weight: 500;
    position: relative;
}

.container .title p::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, #7e3ff2, #4b0082);
}

.container .title p span{
    content: "";
    position: absolute;
    right: 0;
}


code{
    background-color: #f4f4f4;
}

.intro-text pre,
.instruction-text code {
    background-color: #f4f4f4;
    padding: 6px 10px;

    display: inline-block;
    font-family: monospace;
    font-size: 14px;
}

.instruction-text ul {
    padding-left: 20px;
}

.instruction-text h3,
.instruction-text h4 {
    margin-top: 0;
    color: #4b0082;
}


.card {
    position: relative;
    width: 320px;
    height: 200px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7e3ff2, #4b0082);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}



.numberarea {
    position: absolute;
    top: 90px;
    left: 25px;
    font-size: 18px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-icon {
    cursor: pointer;
    font-size: 14px;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.copy-icon:hover {
    opacity: 1;
}

.tooltip {
    position: absolute;
    top: 80px;
    left: 25px;
    font-size: 10px;
    background: rgba(0,0,0,0.6);
    padding: 4px 6px;
    border-radius: 4px;
    display: none;
}

.namearea {
    position: absolute;
    bottom: 20px;
    left: 25px;
    font-size: 14px;
    text-transform: uppercase;
}

.expirydatearea {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 14px;
}

.validthru {
    position: absolute;
    bottom: 40px;
    right: 25px;
    font-size: 10px;
    text-transform: uppercase;
}

.customlogo {
    position: absolute;
    top: 20px;
    right: 25px;
    /*width: 40px;*/
    height: auto;
}

.chip {
    position: absolute;
    top: 20px;
    left: 25px;
    width: 40px;
    height: auto;
}
/*.chip {*/
/*    position: absolute;*/
/*    top: 50px;*/
/*    left: 25px;*/
/*    width: 50px;*/
/*}*/
.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.logo {
    height: 50px; /* Adjust as needed */
}
.content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.section {
    max-width: 700px;
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.section pre {
    background: #f1f1f1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

.section code {
    font-family: monospace;
    color: #4b0082;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logout-button {
    padding: 6px 14px;
    font-size: 13px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logout-button:hover {
    background: #e2e2e2;
    border-color: #bbb;
    color: #000;
}

.donation-banner {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.donation-banner a {
    color: #007BFF;
    text-decoration: none;
}

.donation-banner a:hover {
    text-decoration: underline;
}


.user_details{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px;
}

.user_details .input_box{
    width: calc(100% / 2 - 20px);
    margin: 0 0 12px 0;
}

.input_box label{
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.input_box label::after{
    content: " *";
    color: red;
}

.input_box input{
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 16px;
    padding-left: 15px;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    background-color: #f6f8fa;
    font-family: 'Poppins', sans-serif;
    transition: all 120ms ease-out 0s;
}

.input_box select{
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 16px;
    padding-left: 15px;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    background-color: #f6f8fa;
    font-family: 'Poppins', sans-serif;
    transition: all 120ms ease-out 0s;
}
.input_box input:focus,
.input_box input:valid{
    box-shadow: 0px 0px 0px 2px #AC8ECE;
}

form .gender{
    padding: 0px 25px;
}

.gender .gender_title{
    font-size: 20px;
    font-weight: 500;
}

.gender .category{
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.gender .category label{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.gender .category label .dot{
    height: 18px;
    width: 18px;
    background: #d9d9d9;
    border-radius: 50%;
    margin-right: 10px;
    border: 4px solid transparent;
    transition: all 0.3s ease;
}

#radio_1:checked ~ .category label .one,
#radio_2:checked ~ .category label .two,
#radio_3:checked ~ .category label .three{
    border-color: #d9d9d9;
    background:  #4b0082;
}

.gender input{
    display: none;
}

.reg_btn{
    padding: 5px;
    margin: 5px 0;
}

.reg_btn input{
    height: 45px;
    width: 100%;
    border: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(to right, #7e3ff2, #4b0082);
    border-radius: 5px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.reg_btn input:hover{
    background: linear-gradient(to right,#4b0082, #7e3ff2);
}

@media screen and (max-width: 584px){

    .user_details{
        max-height: 340px;
        overflow-y: scroll;
    }

    .user_details::-webkit-scrollbar{
        width: 0;
    }

    .user_details .input_box{
        width: 100%;
    }

    .gender .category{
        width: 100%;
    }

}
.responsive-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.responsive-flex .input_box {
    flex: 1 1 48%;
    min-width: 250px;
}

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

.captcha-input {
    flex: 1;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    background-color: #f6f8fa;
    font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 419px){
    .gender .category{
        flex-direction: column;
    }
}