/* Existing styles remain unchanged */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(32, 15, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#logo {
    height: 100px;
    width: 100px;
    margin: 0 auto 20px;
    display: block;
}

h2 {
    text-align: center;
    color: #620d8a;
    margin-bottom: 20px;
    font-size: 24px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-align: left;
    color: #333;
}

#email, #password {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    padding: 12px;
    background: #620d8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #4a0f6e;
    transform: scale(1.05);
}

button:focus {
    outline: none;
    box-shadow: 0 0 5px #620d8a;
}

.login-link {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.login-link a {
    color: #620d8a;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

p {
    margin: 0;
    text-align: center;
}

/* Animation for the container */
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: center;
    animation: slideIn 0.6s ease-out;
}

/* New styles for password toggle */
.password-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Space for the icon */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #620d8a;
    font-size: 18px;
}

.toggle-password:hover {
    color: #4a0f6e;
}

@media (max-width: 768px) {
    .toggle-password {
        right: 5px;
        font-size: 16px;
    }
}

#backButton {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    padding: 10px;
    background: #620d8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#backButton:hover {
    background: #4a0f6e;
    transform: scale(1.05);
}

#backButton:focus {
    outline: none;
    box-shadow: 0 0 5px #620d8a;
}