
header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    justify-content: center;
    align-items: center;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}


@keyframes formAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    /*font-size: 1rem;*/
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: var(--box-shadow);

}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

































header h1 {
    margin: 0;
    color: darkblue; /* Main heading color */
}

header p {
    color: darkgoldenrod; /* Subheading color */
}


input {
    width: 100%;
    /*width: calc(100% - 24px); !* Full width minus padding *!*/
    padding: 12px 12px 12px 40px; /* Added padding for icon */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    transition: border-color 0.3s;
}

input:focus {
    border-color: darkblue;
    outline: none;

}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    color: darkblue; /* Change icon color */
    font-size: 18px; /* Adjust size as needed */
}


.login-form {
    /*max-width: 300px; !* Limit form width *!*/
    margin: 5px 80px 80px 80px; /* Center the form */
}

h2 {
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type=email], input[type=password] {
    width: 100%; /* Full width inputs */
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, darkblue, darkgoldenrod);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px; /* Space between buttons */
}

button:hover {
    background: linear-gradient(to right, darkgoldenrod, darkblue);

}

.register-link {
    text-align: center;
    margin-top: 10px; /* Space above the link */
}

.register-link a {
    color:darkblue; /* Primary color for link */
    text-decoration: none; /* Remove underline */
}

.register-link a:hover {
    text-decoration: underline; /* Add underline on hover */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


