* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/fondoFarreFarreFamilia.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    position: relative;
    z-index: 2;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

.login-header h1 {
    color: #7c1417;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.version {
    font-size: 0.7rem;
    color: #666;
    vertical-align: super;
    margin-left: 5px;
}

.login-header h3 {
    color: #7c1417;
    font-size: 1.1rem;
    font-weight: normal;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #7c1417;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #7c1417;
    box-shadow: 0 0 0 3px rgba(0, 103, 178, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.remember-me input {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background-color: #7c1417;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background-color: #004B8D;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 75, 141, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password a {
    color: #0067B2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #004B8D;
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E5E5;
    color: #666;
    font-size: 0.85rem;
}

.footer a {
    color: #7c1417;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.powered-by {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #999;
}

.powered-by a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.powered-by a:hover {
    color: #333;
}

@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }
}

.error {
    background-color: #fff2f2;
    border-left: 4px solid #dc3545;
    color: #dc3545;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1);
}

.error .glyphicon {
    margin-right: 10px;
    font-size: 1.1rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    padding-left: 4px;
}

.form-group input.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.form-group input.valid {
    border-color: #28a745;
}

.machine{
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	color: #7c1417 !important;
	font-family: 'Exo', sans-serif;
	font-size: 30px !important;
	font-weight: 400 !important;
}
.machine div{
	float: top;
}
