* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f09092;
    font-family: Arial, Helvetica, sans-serif;
}

.wrapper {
    background-color: #fff;
    width: 500px;
    padding: 25px;
    margin: 25px auto 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.wrapper h2 {
    background-color: #fcfcfc;
    color: #E21426;
    font-size: 24px;
    padding: 10px;
    margin-bottom: 8px;
    text-align: center;
    border: 1px dashed #E21426;
}

.wrapper h4 {
    padding-bottom: 5px;
    color: #E21426;
}

.input_group {
    margin-bottom: 8px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 5px 0;
}

.input_box {
    width: 100%;
    margin-right: 12px;
    position: relative;
}

.input_box:last-child {
    margin-right: 0;
}

.input_box .name {
    padding: 14px 10px 14px 50px;
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #0003;
    outline: none;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 3px;
    color: #333;
}

.input_box .name:focus, .dob:focus {
    -webkit-box-shadow: 0 0 2px 1px #E21426;
    -moz-box-shadow: 0 0 2px 1px #E21426;
    box-shadow: 0 0 2px 1px #E21426;
    border: 1px solid #E21426;
}

.input_box .icon {
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    color: #333;
    background-color: #f1f1f1;
    border-radius: 2px 0 0 2px;
    transition: 0.3s;
    font-size: 20px;
    pointer-events: none;
    border: 1px solid #00000003;
    border-right: none;
}

.name:focus+.icon {
    background-color: #E21426; background-image: linear-gradient(315deg, #f09092 0%, #e21426 74%);
    color: #fff;
    border-right: 1px solid #E21426;
    border: none;
    transition: 1s;
}

.dob {
    width: 30%;
    padding: 14px;
    text-align: center;
    background-color: #fcfcfc;
    transition: 0.3s;
    outline: none;
    border: 1px solid #c0bfbf;
    border-radius: 3px;
}

.radio {
    display: none;
}

.input_box label {
    width: 50%;
    padding: 13px;
    background-color: #fcfcfc;
    display: inline-block;
    float: left;
    text-align: center;
    border: 1px solid #c0bfbf;
}

.input_box label:first-of-type {
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-right: none;
}

.input_box label:last-of-type {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.radio:checked+label {
    background-color: #E21426; background-image: linear-gradient(315deg, #f09092 0%, #e21426 74%);
    color: #fff;
    transition: 0.5s;
}

.input_box button {
    width: 100%;
    background-color: #E21426; background-image: linear-gradient(315deg, #f09092 0%, #e21426 74%);
    border: none;
    color: #fff;
    padding: 15px;
    border-right: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.input_box button:hover {
    cursor: pointer;
    background-color: #E21426;
}

.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   
   font-family: Arial, Helvetica, sans-serif;
   color: black;
   text-align: left;
}

.alert-box
{
    background-color:#ff9999;
    padding: 0.5rem;
    border-radius: 10px;
}

/* Add this CSS to your application's CSS file or style section */
.text-center {
    text-align: center;
}

.red-text {
    color: red;
}

.qr-code img {
    max-width: 80%;
}

.input_box {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.input_box input,
.input_box select {
    width: 100%;
    padding: 10px 10px 10px 35px; 
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
