.table thead th {
    cursor: pointer;
}

body {
    background: linear-gradient(135deg, #f7f5f2 0%, #e9e4d9 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.navbar {
    background: linear-gradient(90deg, #b2a177 0%, #e9e4d9 100%);
    box-shadow: 0 2px 8px #b2a17733;
    border-bottom: 2px solid #b2a177;
}

.navbar .navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
    color: #3a2c1a !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand .logo {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: #b2a177;
}

.menu-link {
    color: #3a2c1a;
    margin-right: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

.menu-link:hover {
    color: #b2a177;
    text-decoration: underline;
}

.card-movimenti {
    background: #f9f7f3;
    border-radius: 22px;
    box-shadow: 0 6px 32px #b2a17733;
    padding: 2.2rem 1.2rem 2.2rem 1.2rem;
    margin: 2.5rem auto;
    max-width: 1100px;
}

.table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px #b2a17722;
    background: #fff;
}

.table thead th {
    background: #ede7d2;
    color: #3a2c1a;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 2px solid #b2a177;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f7f5f2;
}

.table-striped>tbody>tr:nth-of-type(even) {
    background-color: #ede7d2;
}

.table-hover tbody tr:hover {
    background-color: #e9e4d9 !important;
    box-shadow: 0 2px 8px #b2a17733;
    transition: background 0.2s;
}

.table td,
.table th {
    padding: 0.85rem 1.1rem;
    vertical-align: middle;
    font-size: 1.04rem;
}

.table td {
    color: #3a2c1a;
}

.login-card {
    background: #f9f7f3;
    border-radius: 18px;
    box-shadow: 0 4px 32px #b2a17733;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 400px;
    margin: 7vh auto 0 auto;
    text-align: center;
}

.login-card .logo {
    font-size: 2.5rem;
    color: #b2a177;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(90deg, #b2a177 0%, #e9e4d9 100%);
    border: none;
    font-weight: 600;
    color: #3a2c1a;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #e9e4d9 0%, #b2a177 100%);
    color: #3a2c1a;
}

.btn-light {
    background: #e9e4d9;
    color: #3a2c1a;
    border: 1px solid #b2a177;
}

.btn-light:hover {
    background: #b2a177;
    color: #fff;
}

@media (max-width: 600px) {
    .card-movimenti {
        padding: 1rem 0.2rem;
    }

    .table td,
    .table th {
        padding: 0.55rem 0.4rem;
        font-size: 0.97rem;
    }

    .login-card {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }

    .navbar .navbar-brand {
        font-size: 1.1rem;
    }
}