﻿
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: gainsboro;
}

.container {
    position: relative;
    max-width: 1024px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

    .container header {
        font-size: 1.5rem;
        color: #333;
        font-weight: 500;
        text-align: center;
    }

    .container form {
        margin-top: 30px;
    }

    .container .input-box {
        width: 100%;
        margin-top: 20px;
    }

.input-box label {
    color: #333;
}

form :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    font-size: 1rem;
    padding: 0 15px;
    margin-top: 8px;
    color: #707070;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 6px;
}

form .column {
    display: flex;
    column-gap: 15px;
}

form .gender-box {
    margin-top: 15px;
}

.gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

form .gender {
    column-gap: 5px;
    cursor: pointer;
}

form :where(.gender input, .gender label) {
    cursor: pointer;
}

.address :where(input, .select-box) {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

form :where(.btn) {
    height: 50px;
    width: 100%;
    font-size: 1rem;
    color: #fff;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 400;
    background-color: #083d55;
}

form button {
    height: 50px;
    width: 100%;
    font-size: 1rem;
    color: #fff;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 400;
    background-color: #083d55;
}

    form button:hover {
        background-color: #3b5153;
    }

    .text-danger{
        color:red;
    }

/****************RESPONSIVE***************/

@media screen and (max-width: 500px) {

    form .column {
        flex-wrap: wrap;
    }

    form :where(.gender-option, .gender) {
        row-gap: 15px;
    }
}
