.info-text {
    font-size: 12px;
    color: #d9534f; /* Bootstrap's red for warnings */
    margin-top: 0px;
    font-style: italic;
    text-align: center;
}



.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 10px 0;
}

.custom-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.custom-dropdown select:hover {
    border-color: #888;
}

.custom-dropdown select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.custom-dropdown:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border: solid #666;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none; /* Ensure this doesn't interfere with dropdown interaction */
}


body {
    background-color: #8576FF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.signup-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 -4px 8px rgba(0, 0, 0, 0.2),
    4px 0px 8px rgba(0, 0, 0, 0.2),-4px 0 8px rgba(0, 0, 0, 0.2);
}

.signup-form {
    flex: 1;
    padding: 20px;
}

.signup-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    margin-right: 2%;
    color: #495057;
}

.form-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.form-group input:focus {
    outline: none;
    border-color: #80bdff;
}

.check input[type="checkbox"] {
    width: auto;
    margin-right: 2%;
}

.check {
    display: flex;
    flex: 1;
    margin-top: 10px;
}

.form-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.form-button button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.form-button button:hover {
    background-color: #0056b3;
}

.form-button a {
    color: #007bff;
    text-decoration: none;
}

.form-button a:hover {
    text-decoration: underline;
}

.country {
    margin-bottom: 0;
}


@media (max-width: 780px) {
    .signup-container {
        flex-direction: column;
        width: 80%;
    }

    .label-agree-term {
        font-size: 12px;
    }

    .signup-form h2 {
        text-align: center;
    }

    .signup-form, .signup-image {
        width: 100%;
        padding: 10px;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-button {
        flex-direction: column;
        align-items: stretch;
    }

    .form-button button, .form-button a {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .form-button a {
        margin-bottom: 0;
    }

    .country {
        margin-bottom: 0;
    }
}