/* /var/www/html/grainder.xyz/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a3b1a 0%, #2d5a2d 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Contenitore principale */
.container {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* Logo e titolo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #7fff00;
    font-size: 42px;
    text-shadow: 0 0 10px #7fff00;
    letter-spacing: 2px;
}

.logo p {
    color: #90ee90;
    font-size: 14px;
}

/* Box di input */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #7fff00;
    margin-bottom: 8px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid #7fff00;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* Pulsanti */
.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #7fff00, #3d8f00);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #7fff00;
}

.btn-login {
    background: linear-gradient(135deg, #ff6600, #cc3300);
    color: #fff;
}

/* Separatore */
.separator {
    text-align: center;
    color: #90ee90;
    margin: 25px 0;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #7fff00;
}

.separator::before { left: 0; }
.separator::after { right: 0; }

/* Messaggi di errore/successo */
.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.message.error {
    background: rgba(255, 0, 0, 0.3);
    border: 1px solid #ff0000;
    color: #ff6666;
}

.message.success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid #7fff00;
    color: #7fff00;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 12px;
}

/* Link */
a {
    color: #7fff00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
