* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../img/zud.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-image: linear-gradient(#380036, #0cbaba); */
}

.alert-success {
    color: #fff;
    font-size: 22px;
    text-align: center;
    padding: 20px 0px;
    background-color: rgba(77, 149, 49, 0.9);
    border-radius: 20px;
    margin-bottom: 15px;
}

.container {
    max-width: 650px;
    padding: 25px;
    margin: 0 28px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    padding-bottom: 8px;
    border-bottom: 1px solid silver;
    text-align: center;
    text-transform: uppercase;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2px 0;
}

.input-box {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    padding-bottom: 3px;
    color: #fff;
}
/* .input-box.short {
    display: flex;
    flex-wrap: initial;
    width: 35%;
    padding-bottom: 10px;
    color: #fff;
} */

.input-box.shw {
    width: 35%;
}
.input-box.shb {
    width: 45%;
}

.input-box input.radio {
    width: 10%;
    display: flex;
    color: #fff;
    height: 20px;
    margin: 0 5px;
}

.input-box:nth-child(2n) {
    justify-content: start;
}

.input-box label,
.gender-title {
    width: 95%;
    color: #fff;
    font-weight: bold;
    margin: 5px 0;
}

.gender-title {
    font-size: 16px;
}

.input-box input {
    height: 40px;
    width: 100%;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    backgroun-color: none;
}
.input-box .passnum {
    height: 40px;
    width: 80%;
    padding: 0 10px;
    border-radius: 0px 10px 10px 0px;
    border: 1px solid #ccc;
    outline: none;
    backgroun-color: none;
}
.input-box .ptype {
    height: 40px;
    width: 20%;
    padding: 0 10px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #ccc;
    outline: none;
    backgroun-color: none;
}

.input-box input:is(:focus, :valid) {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.gender-category label {
    padding: 0 20px 0 5px;
    font-size: 14px;
}

.gender-category {
    color: gainsboro;
}

.gender-category label,
.gender-category input {
    cursor: pointer;
}

.alert p {
    font-size: 14px;
    font-style: italic;
    text-align: justify;
    color: #fff;
    margin: 5px 0;
    padding: 10px;
    line-height: 1.5;
}

.alert a {
    font-weight: bold;
    text-decoration: none;
    color: skyblue;
}

.alert a:hover {
    font-weight: bold;
    text-decoration: underline;
    color: #ccc;
}

.button-container {
    margin: 5px 0;
}

.button-container button {
    width: 50%;
    margin: auto;
    font-weight: bold;
    margin-top: 6px;
    padding: 10px;
    display: block;
    font-size: 20px;
    color: #fff;
    border: none;
    border-radius: 10px;
    background-image: linear-gradient(to right, #52a72f, #48a323);
    cursor: pointer;
    transition: 0.3s;
}

.error {
    color: #fff;
    list-style: none;
    background: rgba(236, 99, 15, 0.8);
    padding: 5px;
    border-radius: 20px;
    text-align: center;
    margin: 2px 10px;
    font-size: 14px;
}
.error .text {
    font-size: 14px;
    padding: 2px;
}

.desc {
    color: #fff;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 5px 35px;
    font-size: 14px;
    border: 1px dashed #f33333;
    border-radius: 20px;
}

/* .button-container button:hover {
    background-image: linear-gradient(to right, #4d9531, #63964f);
} */

.tabs {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   width: 100%;
}
h3 {
   /* background-color: #e4e9fd; */
   text-align: center;
   padding: 5px 0;
   cursor: pointer;
   font-weight: 600;
}
h3.disabled {
   pointer-events: none;
   opacity: 0.5;
   cursor: not-allowed;
}
.tab-content {
   /* background-color: #ffffff; */
   padding: 5px 0px;
   width: 100%;
}
.tab-content h4 {
   font-size: 28px;
   margin-bottom: 20px;
   color: #000224;
   font-weight: 600;
}
.tab-content p {
   text-align: justify;
   line-height: 1.9;
   letter-spacing: 0.4px;
   color: #202238;
}
.tab-content div {
   display: none;
}
.tab-content .active {
   display: block;
}
.tabs .active {
   background-color: #ffffff;
   color: #4d5bf9;
   border-radius: 20px 20px;
}

@media (max-width: 600px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    .container {
        min-width: 380px;
	min-height: auto;
    }
    .content {
        max-height: auto;
        overflow: auto;
    }
    .input-box {
        margin-bottom: 5px;
        width: 100%;
    }
    .input-box.shw {
        margin-bottom: 5px;
        width: 100%;
	justify-content: start;
    }
    .input-box.shb {
        margin-bottom: 5px;
        width: 100%;
	justify-content:start;
    }
    .input-box.shb .radio {
        margin: 0 0px 0 10px;
    }

    .input-box:nth-child(2n) {
        justify-content: start;
    }

    .alert-success {
        color: #fff;
        font-size: 18px;
        text-align: center;
        padding: 10px 10px;
        background-color: rgba(77, 149, 49, 0.9);
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .desc {
    	color: #fff;
    	width: 100%;
    	margin: 0 auto;
    	text-align: center;
    	padding: 5px 10px;
    	font-size: 12px;
    	border: 1px dashed #f33333;
    	border-radius: 20px;
    }	
    .error {
 	color: #fff;
    	list-style: none;
    	background: rgba(236, 99, 15, 0.8);
    	padding: 3px;
    	border-radius: 20px;
    	text-align: center;
	margin: 2px 10px;
	font-size: 12px;
    }
    .error .text {
    	font-size: 12px;
    	padding: 2px;
    }
    
    .gender-category {
        display: flex;
        justify-content: space-between;
        width: 60%;
  }
    .content::-webkit-scrollbar {
        width: 0;
    }
}
