@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4070f4;
    padding: 10px;
}

.container {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Main Title */
.container header {
    position: relative;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.container header::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    height: 3px;
    width: 50px;
    border-radius: 8px;
    background-color: #4070f4;
    transform: translateX(-50%);
}

/* Section Titles */
.details .title {
    font-size: 20px;
    font-weight: 700; /* Bold */
    color: #333;
    margin: 20px 0 10px;
    display: block;
    text-transform: uppercase;
}

.container form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* Form Fields */
.container form .fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

form .fields .input-field {
    display: flex;
    width: calc(50% - 10px);
    flex-direction: column;
    margin-bottom: 10px;
}

.input-field label {
    font-size: 14px;
    font-weight: 500;
    color: #2e2e2e;
}

.input-field input, 
.input-field select {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 6px;
    border: 1px solid #aaa;
    padding: 10px;
    height: 42px;
    margin-top: 4px;
}

.input-field input:focus, 
.input-field select:focus {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.input-field select, 
.input-field input[type="date"] {
    color: #707070;
}

.input-field input[type="date"]:valid {
    color: #333;
}

/* Submit Button */
.container form button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 100%;
    max-width: 200px;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 6px;
    margin: 20px auto 10px;
    background-color: #4070f4;
    transition: all 0.3s linear;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.container form button:hover {
    background-color: #265df2;
}

/* Responsive Design */
@media (max-width: 750px) {
    .container {
        padding: 20px;
    }

    form .fields .input-field {
        width: 100%;
    }

    .container form button {
        max-width: 100%;
    }
}