.page_navigator {
    display: none !important;
}

.excel-container {
    margin-top: 20px;
    text-align: right;
}

.excel-container button {
    background: #ba95c6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    /* transition: background-color 0.3s ease; */
}

.excel-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.excel-subtitle {
    margin-bottom: 25px;
    font-size: 1.1em;
}

.preview-container {
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 20px;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin: 0;
}

.preview-table th {
    padding: 15px 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 700;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.preview-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

.merged-cell {
    font-weight: 700;
    border-right: 2px solid #000 !important;
    text-align: center;
    vertical-align: middle;
}

.action-cell {
    max-width: 400px;
    word-wrap: break-word;
    line-height: 1.5;
    text-align: left;
    padding: 15px 12px;
}

.priority-Critical,
.priority-High,
.priority-Medium,
.priority-Low {
    font-weight: bold;
}

.status-Completed,
.status-Overdue,
.status-On\.Track,
.status-Due\.Soon {
    font-weight: bold;
}

.message {
    padding: 15px 20px;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: 600;
    text-align: center;
    border: 1px solid #ccc;
}

.stats-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ccc;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 8px;
}

/* Aggiungi questi stili nella sezione <style> del tuo file action_plan_grid.tpl */

/* Message styles */
#messages {
    margin: 15px 0;
}

.message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: bold;
    border-left: 4px solid;
    font-size: 14px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.excel-container button:hover {
    background: linear-gradient(135deg, #82688b, #56445c);
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.excel-container button:active {
    transform: translateY(0);
}

/* Filter status indicator */
.filter-active-indicator {
    background-color: #e3f2fd;
    border: 1px solid #1976d2;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 10px 0;
    color: #1976d2;
    font-weight: bold;
    display: none;
}

.filter-active-indicator.show {
    display: block;
}