* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1c1e;
    padding: 20px;
    color: #e3e3e3;
}

.container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background-color: #2d2d2d;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: #60a5fa;
    margin-bottom: 24px;
}

h2 {
    font-size: 24px;
    color: #e3e3e3;
    margin-bottom: 8px;
}

.subtitle {
    color: #b0b0b0;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    color: #e3e3e3;
    margin-bottom: 8px;
}

input[type="username"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #404040;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    background-color: #262626;
    color: #e3e3e3;
}

input[type="username"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #60a5fa;
}

input[type="username"]::placeholder,
input[type="password"]::placeholder {
    color: #808080;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #808080;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #b0b0b0;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #60a5fa;
}

.forgot-password {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #60a5fa;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.register-link {
    margin-top: 32px;
    text-align: center;
    color: #b0b0b0;
    font-size: 14px;
}

.register-link a {
    color: #60a5fa;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* Notifiche */

#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    display: flex;
    align-items: center;
    min-width: 300px;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s ease forwards;
    cursor: pointer;
    transition: transform 0.2s;
}

.notification:hover {
    transform: translateX(-5px);
}

.notification i {
    margin-right: 12px;
    font-size: 20px;
}

.notification.success {
    background-color: #4CAF50;
    color: white;
    border-left: 5px solid #2E7D32;
}

.notification.error {
    background-color: #f44336;
    color: white;
    border-left: 5px solid #B71C1C;
}

.notification.warning {
    background-color: #ff9800;
    color: white;
    border-left: 5px solid #E65100;
}

.notification.info {
    background-color: #2196F3;
    color: white;
    border-left: 5px solid #0D47A1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.fade-out {
    animation: fadeOut 0.5s ease forwards;
}