@import url('https://fonts.googleapis.com/css2?family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&family=Roboto+Slab:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    background-image: url('../Image/background1.png'); /* Check the correct path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7) contrast(1.3); /* Darker, sharper background */
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.container .form {
    width: 35%;
    min-height: 100px;
    background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark background */
    filter: brightness(1.4) contrast(1.1); 
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.1), 
                0px 0px 5px rgba(224, 218, 218, 0.3);
    border-radius: 5px; 
    padding: 20px;
    backdrop-filter: blur(4px);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.form form {
    width: 100%;
}

form input, form select {
    width: 80%;
    margin-left: 10%;
    height: 50px;
    margin-bottom: 5%;
    background-color: rgba(0, 0, 0, 0.05);
    color: #fff;
    border: 1px solid gray;
    filter: brightness(1.2) contrast(1.3);
    border-radius: 2px;
    padding: 10px;
    font-size: 16px;
}

/* Match select with input appearance */
form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

/* Optional: placeholder color and input focus effect */
form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

form select:focus {
    outline: 1px double white;
}

/* Optional: improve options contrast */
select option {
    background-color: #111;
    color: white;
    padding: 10px;
}

/* Optional: hover styling (limited support) */
select option:hover {
    background-color: white;
    color: black;
}

form input:focus {
    outline: 1px double white;
}

form #button {
    height: 40px;
    background-color: #E50914;
    border: none;
    font-weight: 500;
}

form h4 {
    text-align: center;
    color: lightgray;
    font-weight: 300;
    margin-top: 1%;
    font-size: 15px;
}

form h4 a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: 400;
}

.form h5, h5 a {
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: white;
}
