/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #678e9d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.select2-container .select2-selection--single {
    height: 38px; /* Adjust height to your preference */
    font-size: 12px; /* Adjust font size for selected item */
}
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin-top: 100px;
    position: relative;
}
.home-btn {
    position: absolute;
    top: 20px;
    left: 25px;
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-btn:hover {
    background-color: #777;
}
.register-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

p {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}
a{
    text-decoration: none;
}
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.form-group {
    width: 48%;
}
label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

input, select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #1a73e8;
    outline: none;
}
.date-of-birth{
    width: 25%;
}
.phone-number {
    width: 40%;
    font-size: 16px;
    margin-left: 10px;
}
.gender{
    width: 35%;
    margin-left: 5px;
}
.btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 10px;
}

.btn:hover {
    background-color: #155bc1;
}

.country-code {
    width: 25%;
    padding: 8px;
    font-size: 16px;
    min-width: 100px;
}
.remember-me-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me-group label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.login-btn {
    background-color: #f4f4f4;
    color: #333;
}

.login-btn:hover {
    background-color: #ddd;
}
.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    margin-bottom: 5px;
}
.input-error {
    border: 2px solid red;
}

/* Responsive Design */
@media (max-width: 768px) {
    textarea#address {
        width: 100%;
        max-width: 400px;
    }
    .container{
        margin-top: 800px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-group {
        width: 100%;
    }
    .country-code {
    width: 25%;
    padding: 8px;
    font-size: 16px;
    min-width: 100px;
}
.phone-number {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    margin-left: 10px;
    min-width: 100px;
}
h1{
    margin-top: 20px;
}
}
