@import "intl-tel-input/build/css/intlTelInput.css";
/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.form-container {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: #000; /* Fallback background */
}

.form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Input fields */
input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input::placeholder {
    color: #999;
}



.iti {
    display: block;
    width: 100%; 
}

/* Phone input container to add space for error message */
.phone-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative; /* To position the flag correctly */
}

#phone {
    flex: 1; /* Ensures the input field takes up the remaining space */
    padding: 12px 12px 12px 50px; /* Adjust padding to leave space for the flag */
    border: none; 
    border-radius: 6px;
    font-size: 14px; 
    background-color: rgba(255, 255, 255, 0.8);
    color: #333; 
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Matches shadow */
}

/* Dropdown styling for phone input */
.iti__dropdown {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.iti__country {
    color: #000 !important; /* Country text in dropdown set to black */
    font-size: 14px;
    padding: 10px;
}

.iti__country:hover {
    background-color: #f0f0f0;
}

.iti__dial-code {
    font-weight: bold;
    margin-right: 5px;
}

.iti__selected-flag {
    position: absolute;
    left: 10px; /* Adjust as necessary */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    border-radius: 6px;
    overflow: hidden;
}

.iti__country-list .iti__search {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 10px;
}

label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    text-align: left;
    color: #fff;
}
.top-logo {
    max-width: 60px;
    display: block;
    margin: 40px auto 20px auto; /* top, right/left, bottom margins */
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
/* Button styles */
button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Error message styling */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px; /* Adds space after input field */
}

/* Help message styling */
.help-message {
    font-size: 0.8em;
    color: #666;
}

/* Responsiveness */
@media (max-width: 768px) {
    .form-wrapper {
        width: 90%;
        padding: 20px;
    }

    input, button {
        font-size: 14px;
    }
}
