:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --background-color: #f8f9fa;
    --form-background: #ffffff;
    --text-dark: #212529;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --error-color: #dc3545;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* background-color: var(--background-color); */ /* Remove plain background color */
    overflow: hidden;
}

.login-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    background-image: url('background.jpg'); /* Add background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(13, 110, 253, 0.1) 40%, rgba(13, 110, 253, 0.5) 100%);
    z-index: 0;
}

/* Remove animated shapes */

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.3));
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -150px;
}

.shape2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -250px;
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-30px) translateX(20px) rotate(180deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

.login-form-container {
    width: 400px;
    padding: 40px;
    background-color: var(--form-background);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    text-align: center;
}

.logo-area {
    margin-bottom: 30px;
}

.logo-area img {
    max-width: 120px;
    margin-bottom: 10px;
}

.logo-area h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.btn-login {
    width: 100%;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    height: 20px;
    margin-top: 15px;
}

.extra-links {
    margin-top: 20px;
    font-size: 14px;
}

.extra-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.extra-links a:hover {
    color: var(--primary-color);
}
