/* General body styles */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #cceeff, #e3f0ff);
}

html, body {
    overflow: hidden;
    height: 100%;
}

/* Login container styling */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 300px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    text-align: center;
    width: 60%;
}

/* Style form and its children uniformly */
.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styling for the password input field */
input {
    width: 240px;
    padding: 0.6rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Error message styling */
.error-message {
    color: #ff4b5c;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    margin-bottom: 0.5rem;
}

.message{
    color: #000;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    margin-bottom: 0.5rem;
}

.resend-btn {
    background: none;
    border: none;
    color: #ff6781;
    font-size: 0.98rem;
    padding: 0;
    margin-top: 0.25rem;
    text-decoration: underline;
    cursor: pointer;
    width: auto;
    box-shadow: none;
    font-weight: normal;
    transition: color 0.15s;
}

.resend-btn:hover {
    color: #e3576f;
    text-decoration: underline;
}

/* Button styling */
.login-btn {
    width: 240px;
    padding: 0.75rem;
    background-color: #ff6781;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

.login-btn:hover {
    background-color: #e3576f;
}

.create-account-btn {
    background: none;
    border: none;
    color: #ff6781;
    font-size: 0.98rem;
    padding: 0;
    margin-top: 0.25rem;
    text-decoration: underline;
    cursor: pointer;
    width: auto;
    box-shadow: none;
    font-weight: normal;
    transition: color 0.15s;
}

.create-account-btn:hover {
    color: #e3576f;
    text-decoration: underline;
}

.divider {
    text-align: center;
    width: 100%;
    color: #aaa;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

#blossomCanvas {
    z-index: 0;
}
  
#heartCanvas {
    z-index: 1;
}
  
/* Error fade animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
