/* Additional styles for the web app */
.input-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Error styling for invalid username input */
.error-input {
    border-color: #e74c3c !important;
    background-color: #fdf7f7 !important;
    background: #fdf7f7 !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    color: #721c24 !important;
}

.error-input:focus {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
    background: #fdf7f7 !important;
    color: #721c24 !important;
}

/* Fix autofill styling for error inputs */
.error-input:-webkit-autofill,
.error-input:-webkit-autofill:hover,
.error-input:-webkit-autofill:focus,
.error-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fdf7f7 inset !important;
    -webkit-text-fill-color: #721c24 !important;
    background-color: #fdf7f7 !important;
    background: #fdf7f7 !important;
    border-color: #e74c3c !important;
    transition: background-color 5000s ease-in-out 0s;
}

.error-input:-moz-autofill {
    background-color: #fdf7f7 !important;
    color: #721c24 !important;
    background: #fdf7f7 !important;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}
