/**
 * Styles for template management features
 */

/* Template List in Load Dialog */
#template-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.template-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-item:hover {
    background-color: #f8f9fa;
}

.template-item:last-child {
    border-bottom: none;
}

.template-item .template-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.template-item .template-date {
    font-size: 12px;
    color: #666;
}

/* Footer Controls */
.footer-controls {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    gap: 10px;
}

/* Ensure the buttons in footer are displayed properly */
.footer-controls button {
    min-width: 120px;
    padding: 10px 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.footer-controls .secondary-button {
    background-color: #e9ecef;
    color: #495057;
}

.footer-controls .secondary-button:hover {
    background-color: #dee2e6;
}

.footer-controls .primary-button {
    background-color: #4e73df;
    color: white;
}

.footer-controls .primary-button:hover {
    background-color: #375dce;
}