/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #46BBB8 0%, #17355D 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 2rem 1rem;
}

/* Main container */
.login-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Login card */
.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2.5rem;
    width: 100%;
    text-align: center;
}

/* Logo section */
.logo-section {
    margin-bottom: 2rem;
}

.main-logo {
    height: 120px;
    width: auto;
}

/* Title section */
.title-section {
    margin-bottom: 2rem;
}

.title-section h1 {
    color: #21006E;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle {
    color: #7914A8;
    font-size: 1rem;
    font-weight: 500;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #17355D;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #7914A8;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(121, 20, 168, 0.1);
}

.form-group input:hover {
    border-color: #46BBB8;
    background-color: white;
}

/* Login button */
.login-button {
    background: linear-gradient(135deg, #7914A8 0%, #DB3176 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.login-button:hover {
    background: linear-gradient(135deg, #21006E 0%, #7914A8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(121, 20, 168, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

/* Form links */
.form-links {
    margin-top: 1rem;
    text-align: center;
}

.forgot-password {
    color: #7914A8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #21006E;
    text-decoration: underline;
}


/* Responsive adjustments for desktop */
@media (min-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }
    
    .login-card {
        padding: 3rem 3rem;
    }
    
    .title-section h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .main-logo {
        height: 140px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input {
        border-color: #333;
    }
    
    .form-group input:focus {
        border-color: #000;
    }
}