.login-popup, .signup-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
    font-family: "Poppins", sans-serif;
}

.popup-content-login, .popup-content {
    position: relative;
    margin: 0px;
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 400px;
    max-width: 80%;
    text-align: center;
    color: white;
    overflow: auto;
}

.popup-content-login h2, .popup-content h2 {
    margin-bottom: 20px;
}

.form {
    display: flex;
    flex-direction: column;
}

.popup-content-login label, .popup-content label {
    margin-bottom: 10px;
    text-align: left;
}

.popup-content-login input, .popup-content input {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: white;
}

.btn {
    margin-top: 20px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #ffd700; /* Gradient color for buttons */
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease; /* Smooth transition for text color change */
}

.btn:hover {
    color: #3d677b; /* Change text color on hover */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    color: white; /* Red color for close button */
    cursor: pointer;
}

.close-btn:hover {
    color: red; /* Darker red on hover */
}

.switch-to-signup, .switch-to-login {
    margin-top: 20px;
}

.switch-to-signup button, .switch-to-login button {
    background: none;
    border: none;
    color: wheat;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease; /* Smooth transition for text color change */
}

.switch-to-signup button:hover, .switch-to-login button:hover {
    color: #ffa500; /* Change text color on hover */
}

.account-logo {
    width: 70px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.error {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
}
.error-login{
    color: red;
}