﻿input.btn-java {
    background: red !important;
}
/* ===== PAGINA LOGIN ===== */
body {
    background: #2c3e50;
    font-family: Arial;
}

/* ===== BOX LOGIN ===== */
.login-box {
    width: 350px;
    margin: 120px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

    /* ===== TITOLO ===== */
    .login-box h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    /* ===== INPUT ===== */
    .login-box input {
        width: 100%;
        padding: 8px;
        margin-bottom: 12px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

        /* ===== BOTTONE ===== */
        .login-box button,
        .login-box input[type="submit"] {
            width: 100%;
            background: #0d6efd;
            color: white;
            border: none;
            padding: 8px;
            border-radius: 6px;
            cursor: pointer;
        }

            .login-box button:hover {
                background: #0b5ed7;
            }
/ /* ===== CENTRATURA PAGINA ===== */
body {
    margin: 0;
    height: 100vh;
    font-family: Arial;
    background: #f4f6f9;
    display: flex;
    align-items: center; /* centro verticale */
    justify-content: center; /* centro orizzontale */
}

/* contenitore centrale */
.login-container {
    width: 320px;
    text-align: center;
}

/* ===== LOGO ===== */
.logo {
    width: 200px;
    display: block;
    margin: 0 auto 25px auto;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.25)) drop-shadow(0 0 30px rgba(255,255,255,0.18)) drop-shadow(0 0 60px rgba(255,255,255,0.10));
}

/* ===== INPUT ===== */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

    .login-container input[type="submit"]:hover {
        background-color: #0b5ed7;
    }
/* ===== SFONDO SCURO SFUMATO ===== */
body {
    margin: 0;
    height: 100vh;
    font-family: Arial;
    background: linear-gradient( 135deg, #1e2a38 0%, #2c3e50 50%, #1c1f26 100% );
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===== BOTTONI STILE JAVA (LOGIN) ===== */
.btn-java {
    display: block;
    width: 240px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    margin: 10px auto;
    font-size: 13px;
    background: linear-gradient(#e0e0e0, #bfbfbf);
    border: 1px solid #7a7a7a;
    border-radius: 4px;
    color: #000;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080;
    cursor: pointer;
}

    /* hover */
    .btn-java:hover {
        background: linear-gradient(#f0f0f0, #cfcfcf);
    }

    /* click */
    .btn-java:active {
        background: linear-gradient(#bfbfbf, #e0e0e0);
        box-shadow: inset -1px -1px 0 #ffffff, inset 1px 1px 0 #808080;
    }

/* fix ASP button */
input.btn-java {
    line-height: normal;
}
/* 🔴 QUESTO È IL FIX */
input.btn-java {
    display: block !important;
    width: 240px !important;
    height: 32px !important;
    margin: 10px auto !important;
    padding: 0 !important;
    font-size: 13px !important;
    background: linear-gradient(#e0e0e0, #bfbfbf) !important;
    border: 1px solid #7a7a7a !important;
    border-radius: 4px !important;
    color: #000 !important;
    text-align: center !important;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080 !important;
    cursor: pointer;

}

.login-box {
    width: 700px;
    margin: 40px auto; /* 🔴 centra */
}
.grid {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .grid th {
        text-align: left;
        padding: 8px;
        color: white;
        font-weight: normal;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .grid td {
        padding: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .grid .btn-java {
        width: 100px;
        height: 26px;
        line-height: 26px;
        font-size: 12px;
        margin: 0;
    }
.input {
    width: 300px;
    display: block;
    margin: 10px auto;
}
.actions {
    margin-top: 20px;
}