/**
 * ITS Link Manager - Main Styles
 */

/* Section hover effects */
.section:hover {
    border-color: #f59e0b40 !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.section.drag-over {
    border-color: #f59e0b !important;
    background: #1a2744 !important;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3) !important;
}

/* Link item hover */
.link-item:hover {
    background: #1a4080 !important;
    border-left-color: #f59e0b !important;
}

.link-item.dragging {
    opacity: 0.5;
    cursor: grabbing !important;
}

.link-item.drag-hover-top {
    border-top: 3px solid #f59e0b !important;
}

.link-item.drag-hover-bottom {
    border-bottom: 3px solid #f59e0b !important;
}

/* Move buttons */
.move-btn:hover {
    background: #1a4080 !important;
    border-color: #f59e0b !important;
}

/* Pagination */
.lm-pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.lm-pagination a,
.lm-pagination span {
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sections-container {
        grid-template-columns: 1fr !important;
    }
    
    .admin-header {
        flex-direction: column;
    }
    
    .link-actions {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .lm-header,
    .controls,
    .link-actions,
    .section-controls {
        display: none !important;
    }
}
