body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
}

.flash-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.flash-container .alert {
    border-radius: 15px;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-container .btn-close {
    font-size: 0.8rem;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.custom-btn {
    height: 120px;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%; /* AGGIUNGI QUESTO */
    padding: 0; /* AGGIUNGI QUESTO */
}

.custom-btn:active {
    transform: scale(0.95);
}

.custom-btn:hover {
    text-decoration: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary-custom {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-danger-custom {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
    color: white;
}

.btn-warning-custom {
    background: linear-gradient(135deg, #ffd93d 0%, #f59f00 100%);
    color: white;
}

.btn-info-custom {
    background: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
    color: white;
}

.table-container {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
}

.custom-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.custom-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.custom-table thead th {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
}

.custom-table tbody td {
    padding: 1rem;
    font-size: 1rem;
    border-color: #e9ecef;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-table tbody tr:hover {
    background-color: #f8f9fa;
}

.action-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-link:active {
    transform: scale(0.95);
}

.action-link i {
    font-size: 1.25rem;
}

.action-link-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-link-edit {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.action-link-warning {
    background: linear-gradient(135deg, #ffd93d 0%, #f59f00 100%);
    color: white;
}

.action-link-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
    color: white;
}

h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0 1.5rem;
}

h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0 1.5rem;
}